Hello! I wonder. Is there a way to add local polic...
# typescript
a
Hello! I wonder. Is there a way to add local policy packs to an automation api project? Normally, with the cli this is done by using
--policy-pack
flag. But, is there a way to do the same on an automation-api project. I cant find the option.
b
it hasn’t been plumbed through yet, unfortunately
a
Do you know if there is a gitlab issue about adding that feature yet, so I can track on?
b
Since the automation api is just a wrapper around the cli, I've generally found it easier to run the cli directly with JSON output.
b
@abundant-king-20145 amazingly, I actually already wrote to the automation API and completely forgot I did it 😅 https://github.com/pulumi/pulumi/pull/9872/files https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/automation/#PreviewOptions-policyPacks