-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Ability to specify Tags across all resources #1516
Copy link
Copy link
Closed
Labels
@aws-cdk/coreRelated to core CDK functionalityRelated to core CDK functionalityfeature-requestA feature should be added or improved.A feature should be added or improved.
Description
We have a common set of tags that we apply to all of our AWS resources where possible. These tags are normally used for organisation purposes, such as cost allocation.
Is it possible to define a set of tags that could be applied to all resources that support them? Ideally we'd like an API that looked something like this
export default class Stack extends cdk.Stack {
constructor (parent: cdk.App, name: string, props?: cdk.StackProps) {
super(parent, name, props)
this.setGlobalTags({ ComponentName: 'MyComponent', ChargeCode: 'S-XXX' })
}
}I've read through an issue (#91) but it's unclear to me if:
- Something exists for our use case
- If it does exist, how it can be used
Thanks in advance 😄
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/coreRelated to core CDK functionalityRelated to core CDK functionalityfeature-requestA feature should be added or improved.A feature should be added or improved.