pulumi-aws icon indicating copy to clipboard operation
pulumi-aws copied to clipboard

Add URN to `tags` for all resources that support it

Open lukehoban opened this issue 7 years ago • 5 comments

We would like to be able to map back from AWS resource to Pulumi URN on as may resources as possible. This should be applied as a tag on all resources that support it.

lukehoban avatar Jan 11 '18 06:01 lukehoban

Related to but different than #53.

lukehoban avatar Jan 11 '18 06:01 lukehoban

I wonder if this should actually be a pulumi-terraform feature. Basically, have a Tag property on the SchemaInfo, that automatically receives the URN. Then in the AWS package we can annotate the right fields on the right resources (maybe "in bulk", similar to what we do with names).

joeduffy avatar Jan 11 '18 15:01 joeduffy

👍 We have a requirement to track cost for all resources under a certain project. Would love to easily track all resources for a specific Pulumi stack with tags in AWS and do a simple search with their budget explorer tooling.

eshamay avatar Feb 26 '19 00:02 eshamay

@stack72 @jen20 Thoughts on this? If it's a good idea - how would we do it? I assume it wold need to be an opt-in flag?

lukehoban avatar Jun 13 '19 21:06 lukehoban

If we're going to do this, I think we should make it a provider-level opt-in via configuration. It seems like doing it in the TF bridge should be straightforward enough apart from that.

jen20 avatar Jun 14 '19 16:06 jen20