https://pulumi.com logo
#automation-api
Title
# automation-api
b

brief-processor-66221

10/18/2021, 1:45 PM
Hi, I'm working on a project using the Pulumi Automation API with python, and I was wondering if there was any way to call a PolicyPack from an inline program that's using the automation API? Searching online and in the Slack didn't turn up anything. 😕 What I was hoping to do was to setup some validation functions, and then call the policy pack validation before or as part of stack.preview(). Anyone have experience doing something similar?
l

lemon-agent-27707

10/18/2021, 3:40 PM
Sounds like you are looking for this: https://github.com/pulumi/pulumi/issues/6757 Pulumi service-managed policy packs should work though
👍 1
b

brief-processor-66221

10/18/2021, 11:59 PM
Thanks for the link, I'll keep an eye on that issue's progress.