aws-samples / aws-cdk-examples

Example projects using the AWS CDK
Apache License 2.0
4.95k stars 2.1k forks source link

Add "aws:sample" tag to created example resources #1049

Open Robin-Wardle opened 2 weeks ago

Robin-Wardle commented 2 weeks ago

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

Language

Python