hi all. I tried several way to ignore tag: at prov...
# aws
v
hi all. I tried several way to ignore tag: at provider level or at yaml config level. No way. May u suggest something?
c
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
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.