https://pulumi.com logo
#general
Title
# general
f

few-postman-20852

11/28/2023, 2:10 PM
Is it possible to set pulumi stack tags inside a pulumi config file?
b

broad-doctor-18421

11/28/2023, 3:55 PM
you could with the auto tagging strategy, have you come across that yet?
l

little-cartoon-10569

11/28/2023, 9:38 PM
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

echoing-dinner-19531

11/28/2023, 10:26 PM
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

little-cartoon-10569

11/28/2023, 10:29 PM
Cool, now I have some internal documentation to update 🙂
f

few-postman-20852

11/29/2023, 8:26 AM
Thanks a lot @echoing-dinner-19531!