pulumi-aws
pulumi-aws copied to clipboard
Add URN to `tags` for all resources that support it
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.
Related to but different than #53.
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).
👍 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.
@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?
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.