curved-cartoon-9005409/22/2020, 10:17 PM
steps: mkdir policypack && cd policypack pulumi policy new aws-python pulumi preview --policy-pack <path-to-policy-pack-directory>
gentle-diamond-7014709/22/2020, 10:25 PM
command needs to be run from the directory where your Pulumi application resides, not from where the policy pack code is. So you likely just need to
pulumi preview ...
and then run the preview command again.