You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes ✅: please list the AWS provider version which introduced this functionality
v3.24.0
Is your request related to a problem? Please describe.
I'm attempting to create a composite alarm from multiple cloudwatch metric alarms. Terraform documentation shows the way to insert these values like so:
resource"aws_cloudwatch_composite_alarm""example" {
alarm_description="This is a composite alarm!"alarm_name="example-composite-alarm"...alarm_rule=<<EOFALARM(${aws_cloudwatch_metric_alarm.alpha.alarm_name}) ORALARM(${aws_cloudwatch_metric_alarm.bravo.alarm_name})EOF...
}
where each alarm is referenced by its name. I am unable to reference the name of each alarm that I've created via /modules/metric-alarm as it only has outputs cloudwatch_metric_alarm_arn and cloudwatch_metric_alarm_id
Describe the solution you'd like.
When creating multiple cloudwatch metric alarms, I would like to be able to reference them in creation of the composite alarm.
Currently, I have to not use the metrics-alarm submodule and use TF resource aws_cloudwatch_metric_alarm directly in order to reference cloudwatch metric alarm name.
Additional context
The text was updated successfully, but these errors were encountered:
Is your request related to a new offering from AWS?
Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.
v3.24.0
Is your request related to a problem? Please describe.
I'm attempting to create a composite alarm from multiple cloudwatch metric alarms. Terraform documentation shows the way to insert these values like so:
where each alarm is referenced by its name. I am unable to reference the name of each alarm that I've created via
/modules/metric-alarm
as it only has outputscloudwatch_metric_alarm_arn
andcloudwatch_metric_alarm_id
Describe the solution you'd like.
When creating multiple cloudwatch metric alarms, I would like to be able to reference them in creation of the composite alarm.
Describe alternatives you've considered.
Currently, I have to not use the
metrics-alarm
submodule and use TF resourceaws_cloudwatch_metric_alarm
directly in order to reference cloudwatch metric alarm name.Additional context
The text was updated successfully, but these errors were encountered: