https://pulumi.com logo
Title
s

salmon-musician-36333

04/25/2023, 6:02 PM
Any way to force the AWS provider to set the tags on all taggable resources (like
defaultTags
, but including already created resources)?
b

billions-xylophone-85957

04/25/2023, 6:54 PM
s

salmon-musician-36333

04/25/2023, 7:42 PM
Beautiful,
pulumi.runtime.registerStackTransformation
is exactly what I was looking for in general, and the autotag example is perfect. Thanks!
Curious about this, though:
error: diffing urn:pulumi:dev::uncle::aws:iam/role:Role::standard-nodegroup: "tags" are identical to those in the "default_tags" configuration block of the provider: please de-duplicate and try again
Since the functionality is equivalent, I can remove the
defaultTags
from my config, but isn't it expected that the
defaultTags
will be overridden by resource tags?
@billions-xylophone-85957 Have you encountered this situation at all? Not convinced I should need to deduplicate here.