Skip to content

Commit fba9a33

Browse files
committed
Fix name
1 parent 531564e commit fba9a33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metrics.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ resource "aws_cloudwatch_metric_alarm" "asg_nodes_cpu_threshold" {
2121
insufficient_data_actions = []
2222

2323
dimensions = {
24-
AutoScalingGroupName = aws_autoscaling_group.nodes_green.name
24+
AutoScalingGroupName = aws_autoscaling_group.asg_nodes[each.key].name
2525
}
2626
tags = {
2727
"KubespotEnvironment" = var.environment_name

0 commit comments

Comments
 (0)