-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws-cdk-lib/aws-cloudwatch: Tags don't attach to CloudWatch alarms #25489
Comments
Hi @dacampos1 , as of now Cloudformation does not support adding tags to cloudwatch alarms. This request has been worked upon by the team here. |
|
@dacampos1 - If you have stack-level Tags, you should see Tags are getting propagate to |
After the rollout of the tags for CloudWatch Alarms in CloudFormation, this is still bugged in CDK. Stack-level tags are not currently propagating down to Alarms when the template is generated with |
Describe the bug
I am trying to add tags to my Cloudwatch Alarm. I am using the Alarm construct from
aws-cdk-lib/aws-cloudwatch
. The parent stack has a set of default tags that all other resources inherit, except for Cloudwatch Alarms. I have also tried adding tags to this resource manually, but it does not work.Expected Behavior
Tags can be added to the resource and verified on the AWS console.
Current Behavior
The tags don't attach to the resource.
Reproduction Steps
and then
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.76.0
Framework Version
No response
Node.js Version
v16.18.1
OS
13.2.1
Language
Typescript
Language Version
4.8.4
Other information
No response
The text was updated successfully, but these errors were encountered: