https://pulumi.com logo
Title
m

many-spring-73557

06/30/2022, 10:34 PM
Is there a way for pulumi to merge AWS tags rather than overwrite them? We have an automated service that applies tags to AWS resources, and every time I pulumi up I end up removing the tags that the other service added. I’m not actually sure it makes sense to merge, because if I remove a tag from pulumi how would it know to remove it? But, this is the situation I’m in right now and wondering if anyone has guidance on how not to remove tags applied by a different service.
b

billowy-army-68599

06/30/2022, 10:50 PM
you need to make your code look like the service that adds the tags, otherwise you're going to get constant drift
m

many-spring-73557

06/30/2022, 10:51 PM
okay that’s what I figured. I’ll ask about what tags they add, so I can add them myself. Or just see what’s different after a refresh, and add those in