Skip to content

Commit

Permalink
fix: dimensions = { (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfvermut authored May 8, 2020
1 parent 0163553 commit 30507c3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions alarms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "aws_cloudwatch_metric_alarm" "burst_balance_too_low" {
alarm_actions = ["${aws_sns_topic.default.arn}"]
ok_actions = ["${aws_sns_topic.default.arn}"]

dimensions {
dimensions = {
DBInstanceIdentifier = "${var.db_instance_id}"
}
}
Expand All @@ -41,7 +41,7 @@ resource "aws_cloudwatch_metric_alarm" "cpu_utilization_too_high" {
alarm_actions = ["${aws_sns_topic.default.arn}"]
ok_actions = ["${aws_sns_topic.default.arn}"]

dimensions {
dimensions = {
DBInstanceIdentifier = "${var.db_instance_id}"
}
}
Expand All @@ -59,7 +59,7 @@ resource "aws_cloudwatch_metric_alarm" "cpu_credit_balance_too_low" {
alarm_actions = ["${aws_sns_topic.default.arn}"]
ok_actions = ["${aws_sns_topic.default.arn}"]

dimensions {
dimensions = {
DBInstanceIdentifier = "${var.db_instance_id}"
}
}
Expand All @@ -77,7 +77,7 @@ resource "aws_cloudwatch_metric_alarm" "disk_queue_depth_too_high" {
alarm_actions = ["${aws_sns_topic.default.arn}"]
ok_actions = ["${aws_sns_topic.default.arn}"]

dimensions {
dimensions = {
DBInstanceIdentifier = "${var.db_instance_id}"
}
}
Expand All @@ -95,7 +95,7 @@ resource "aws_cloudwatch_metric_alarm" "freeable_memory_too_low" {
alarm_actions = ["${aws_sns_topic.default.arn}"]
ok_actions = ["${aws_sns_topic.default.arn}"]

dimensions {
dimensions = {
DBInstanceIdentifier = "${var.db_instance_id}"
}
}
Expand All @@ -113,7 +113,7 @@ resource "aws_cloudwatch_metric_alarm" "free_storage_space_too_low" {
alarm_actions = ["${aws_sns_topic.default.arn}"]
ok_actions = ["${aws_sns_topic.default.arn}"]

dimensions {
dimensions = {
DBInstanceIdentifier = "${var.db_instance_id}"
}
}
Expand All @@ -131,7 +131,7 @@ resource "aws_cloudwatch_metric_alarm" "swap_usage_too_high" {
alarm_actions = ["${aws_sns_topic.default.arn}"]
ok_actions = ["${aws_sns_topic.default.arn}"]

dimensions {
dimensions = {
DBInstanceIdentifier = "${var.db_instance_id}"
}
}

0 comments on commit 30507c3

Please sign in to comment.