https://pulumi.com logo
#aws
Title
# aws
v

victorious-helmet-11068

10/19/2020, 12:01 PM
hi all. I tried several way to ignore tag: at provider level or at yaml config level. No way. May u suggest something?
c

cool-fireman-90027

10/19/2020, 1:29 PM
Hi @victorious-helmet-11068, Have you tried
ignoreChanges
on the resource you want the tags to be ignored on. https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges.
l

little-cartoon-10569

10/19/2020, 7:56 PM
If you want to drop a tag on all resources as they're created or updated, then you want a stack transformation.
I can't find the blog posts about it.. Joe wrote one earlier in the year, but ???
Ah it got merged, or maybe I just forgot about the policy section... https://www.pulumi.com/blog/automatically-enforcing-aws-resource-tagging-policies/
You would want to write something like the
registerAutoTags
function in that post, that removes the tag you don't want.