Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
TerribleDev committed Jun 14, 2017
1 parent a272c4e commit e9829c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tf_ecs_default_service/ecs_task_scaling.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ resource "aws_cloudwatch_metric_alarm" "default_service_cpu_low" {
namespace = "AWS/ECS"
period = "300"
statistic = "Average"
threshold = "${container_cpu_scale_in}"
threshold = "${var.container_cpu_scale_in}"

dimensions {
ClusterName = "${var.cluster_name}"
Expand Down
2 changes: 1 addition & 1 deletion tf_ecs_service/ecs_task_scaling.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ resource "aws_cloudwatch_metric_alarm" "default_service_cpu_low" {
namespace = "AWS/ECS"
period = "300"
statistic = "Average"
threshold = "${container_cpu_scale_in}"
threshold = "${var.container_cpu_scale_in}"

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

0 comments on commit e9829c3

Please sign in to comment.