Skip to content

[Enhancement]: Support alarm tag propagation in CloudWatch alarm action and event payloads #50590

Open

Description

@jansepke

Description

Amazon CloudWatch now supports including alarm tags in SNS notifications, Lambda invocations, and EventBridge alarm state change events.

Please add support for configuring this feature on CloudWatch alarm resources through the ActionConfiguration.AlarmTagsPropagation API field, including:

  • Enabled: Enable or disable tag propagation.
  • IncludedTagKeys: Propagate only the specified tag keys.
  • ExcludedTagKeys: Propagate all tags except the specified tag keys.

IncludedTagKeys and ExcludedTagKeys are mutually exclusive. When propagation is enabled and neither list is specified, CloudWatch includes all eligible alarm tags.

Affected Resource(s) or Data Source(s)

  • aws_cloudwatch_metric_alarm
  • aws_cloudwatch_composite_alarm

Potential Terraform Configuration

resource "aws_cloudwatch_metric_alarm" "example" {
  alarm_name          = "backend-errors"
  alarm_description   = "Backend error count exceeded the threshold."
  namespace           = "Application"
  metric_name         = "ErrorCount"
  comparison_operator = "GreaterThanOrEqualToThreshold"
  evaluation_periods  = 1
  period              = 300
  statistic           = "Sum"
  threshold           = 1
  treat_missing_data  = "notBreaching"

  alarm_actions = [aws_sns_topic.alerts.arn]

  tags = {
    Environment = "production"
    Service     = "backend"
    Team        = "platform"
  }

  action_configuration {
    alarm_tags_propagation {
      enabled           = true
      included_tag_keys = ["Environment", "Service", "Team"]

      # Alternatively, use excluded_tag_keys instead.
      # Omit both lists to propagate all eligible tags.
    }
  }
}

References

AWS announcement:
https://aws.amazon.com/de/about-aws/whats-new/2026/10/amazon-cloudwatch-tags-on-alarm-actions-payload/

CloudWatch user guide, including API configuration and prerequisites:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-tags-in-notifications.html

PutMetricAlarm API:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricAlarm.html

PutCompositeAlarm API:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html

Would you like to implement the enhancement?

No

Activity

  1. added
    enhancementRequests to existing resources that expand the functionality or scope.
    on Oct 22, 2026
  2. github-actions commented on Oct 22, 2026

    @github-actions
    Contributor

    Community Guidelines

    This comment is added to every new Issue to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀

    Voting for Prioritization

    • Please vote on this Issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize it.
    • Please see our prioritization guide for additional information on how the maintainers handle prioritization.
    • Please do not leave +1 or other comments that do not add relevant new information or questions; they generate extra noise for others following the Issue and do not help prioritize the request.

    Volunteering to Work on This Issue

    • If you are interested in working on this issue, please leave a comment.
    • If this would be your first contribution, please review the contribution guide.
    • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  3. added
    needs-triageWaiting for first response or review from a maintainer.
    service/cloudwatchIssues and PRs that pertain to the cloudwatch service.
    on Oct 22, 2026
  4. removed
    needs-triageWaiting for first response or review from a maintainer.
    on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequests to existing resources that expand the functionality or scope.service/cloudwatchIssues and PRs that pertain to the cloudwatch service.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions