Hi guys! Do you have published Pulumi policies usi...
# general
b
Hi guys! Do you have published Pulumi policies using Github actions or with an automated process? The current Github action is only for stack deployments, not for policies. thinking taco pulumipus dancing music
b
@bored-vase-40478 are you referring to policies published to the enterprise/business critical skus? can you tell me a little more what you're trying to do?
b
Sure, im trying to automate the deployment proccess of a policy pack (crossguard feature) https://www.pulumi.com/docs/guides/crossguard/get-started/#enforcing-a-policy-pack
b
we don't really have an automated process for that, you should be able to just run
pulumi policy publish
in your CI/CD pipeline
b
yeah... i've been checking the github hosted runners and they have already installed pulumi cli
b
yeah, so you should just be able to run
pulumi policy publish
- is there additional things you need?
b
not entirely sure how to configure the pulumi token
well, I think i could use the
PULUMI_ACCESS_TOKEN
env variable
b
you need to set
PULUMI_ACCESS_TOKEN
as an env var, then run
pulumi login
before you run
pulumi policy publish
b
ok!
i will try that! thanks for your help!