https://pulumi.com logo
#docs
Title
# docs
c

curved-cartoon-90054

09/22/2020, 10:17 PM
hi I am trying pulumi crossguard for first time i am getting below error error: no Pulumi.yaml project file found
Copy code
steps:
mkdir policypack && cd policypack
pulumi policy new aws-python
pulumi preview --policy-pack <path-to-policy-pack-directory>
g

gentle-diamond-70147

09/22/2020, 10:25 PM
The
pulumi preview ...
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
cd ..
and then run the preview command again.
I see Justin helped you in the other channel.