little-cartoon-10569
05/06/2021, 1:35 AMError: Cannot find module '/pulumi/projects/main/pulumi/policy-packs/localpolicies/package.json'
white-balloon-205
05/06/2021, 2:03 AMpulumi policy publish
command should run a normal npm pack
- so if that works in your layout I'd expect it to work with pulumi policy publish
. For local --policy-pack
execution, you should just be able to point to a folder with the code, as long as the mdule in that folder can be loaded via standard Node.js module loading.little-cartoon-10569
05/06/2021, 2:08 AM