Skip to content

Commit

Permalink
re-add the '=' for dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
mbbilgen committed Aug 14, 2023
1 parent ea29de5 commit 4110d33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/lambda_function_sqs_no_vpc/cloudwatch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ resource "aws_cloudwatch_metric_alarm" "stale_messages_alarm" {
datapoints_to_alarm = "1"
alarm_actions = ["${var.alarm_action_arn}"]
count = "${var.enable_cloudwatch_alarms}"
dimensions {
dimensions = {
QueueName = "${aws_sqs_queue.sqs_queue.name}"
}
tags = "${local.tags}"
Expand All @@ -51,7 +51,7 @@ resource "aws_cloudwatch_metric_alarm" "error_messages_alarm_1" {
datapoints_to_alarm = "1"
alarm_actions = ["${var.alarm_action_arn}"]
count = "${var.enable_cloudwatch_alarms}"
dimensions {
dimensions = {
QueueName = "${aws_sqs_queue.sqs_error_queue.name}"
}
tags = "${local.tags}"
Expand All @@ -70,7 +70,7 @@ resource "aws_cloudwatch_metric_alarm" "error_messages_alarm_2" {
datapoints_to_alarm = "1"
alarm_actions = ["${var.alarm_action_arn}"]
count = "${var.enable_cloudwatch_alarms}"
dimensions {
dimensions = {
QueueName = "${aws_sqs_queue.sqs_error_queue.name}"
}
tags = "${local.tags}"
Expand Down

0 comments on commit 4110d33

Please sign in to comment.