From 9d75811177a72fea9a67f3ec686fa5a944d9ab87 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Wed, 14 Jun 2017 09:12:08 -0400 Subject: [PATCH] fix additional variable names --- tf_ecs_default_service/ecs_task_scaling.tf | 2 +- tf_ecs_service/ecs_task_scaling.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tf_ecs_default_service/ecs_task_scaling.tf b/tf_ecs_default_service/ecs_task_scaling.tf index 8763d72..95ad235 100644 --- a/tf_ecs_default_service/ecs_task_scaling.tf +++ b/tf_ecs_default_service/ecs_task_scaling.tf @@ -50,7 +50,7 @@ resource "aws_cloudwatch_metric_alarm" "default_service_cpu_high" { namespace = "AWS/ECS" period = "120" statistic = "Average" - threshold = "${container_cpu_scale_out}" + threshold = "${var.container_cpu_scale_out}" dimensions { ClusterName = "${var.cluster_name}" diff --git a/tf_ecs_service/ecs_task_scaling.tf b/tf_ecs_service/ecs_task_scaling.tf index 5ab5b15..4f6d106 100644 --- a/tf_ecs_service/ecs_task_scaling.tf +++ b/tf_ecs_service/ecs_task_scaling.tf @@ -50,7 +50,7 @@ resource "aws_cloudwatch_metric_alarm" "default_service_cpu_high" { namespace = "AWS/ECS" period = "120" statistic = "Average" - threshold = "${container_cpu_scale_out}" + threshold = "${var.container_cpu_scale_out}" dimensions { ClusterName = "${var.cluster_name}"