Is it possible to set pulumi stack tags inside a p...
# general
f
Is it possible to set pulumi stack tags inside a pulumi config file?
b
you could with the auto tagging strategy, have you come across that yet?
l
There's auto-tagging for stacks? The question is about stack tags, not resource tags. As far as I know, the only ways to update stack tags are via
pulumi stack tag set
and the Pulumi console.
e
Nope you can set them in the config file now. https://github.com/pulumi/pulumi/pull/12856 Add a "pulumi:tags" section to your stack or project config, the engine will add that to stack tags on the next
up
.
And I was worried for sec there weren't docs for this but found them now: https://www.pulumi.com/docs/concepts/config/#pulumitags
l
Cool, now I have some internal documentation to update 🙂
f
Thanks a lot @echoing-dinner-19531!