Add "aws:sample" tag to created example resources
Closed this issue · 2 comments
Describe the feature
In order to identify these examples within an AWS account, would it be possible to add tags to the resources created by the CDK?
Use Case
Although example resources are named appropriately, when working through an example it's not always obvious which resources have been created in the AWS account. Being able to filter by tags - say "aws:sample" or similar - would help identify them for management purposes, particularly useful if costs are being incurred.
I'm particularly interested in the Python code but this feature would apply to all languages.
Proposed Solution
I don't know enough about CDK tags to be able to suggest an implementation.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
Language
Python
It would not work to use CDK tags to identity all resources that were created with CDK application. Tagging coverage is not 100 percent.
Your best bet to identity all of the resources created by a CDK app and thus the CloudFormation stack is to look at the resources tab in the CloudFormation console.
CloudFormation also automatically add stack level tags which if the resource supports tagging would have that defined as one of it tags.
⚠️ COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.