Skip to content

Commit

Permalink
Fix service and add ClusterName
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleung-appzen committed Aug 27, 2020
1 parent 3c5868c commit 9e8fea9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -413,11 +413,12 @@ resource "aws_cloudwatch_metric_alarm" "queue_time" {

metric {
metric_name = "RunningTaskCount"
namespace = "AWS/SQS"
namespace = "ECS/ContainerInsights"
period = "60"
stat = "Maximum"

dimensions {
ClusterName = "${var.cluster_name}"
ServiceName = "${var.service_name}"
}
}
Expand Down

0 comments on commit 9e8fea9

Please sign in to comment.