Skip to content

Commit b8ebcf4

Browse files
author
Xavier Basty
authored
fix: lower autoscaling thresholds (#325)
1 parent 19d87df commit b8ebcf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

terraform/ecs/main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ resource "aws_appautoscaling_policy" "cpu_scaling" {
235235
predefined_metric_specification {
236236
predefined_metric_type = "ECSServiceAverageCPUUtilization"
237237
}
238-
target_value = 70
238+
target_value = 50
239239
scale_in_cooldown = 180
240240
scale_out_cooldown = 180
241241
}
@@ -253,7 +253,7 @@ resource "aws_appautoscaling_policy" "memory_scaling" {
253253
predefined_metric_specification {
254254
predefined_metric_type = "ECSServiceAverageMemoryUtilization"
255255
}
256-
target_value = 70
256+
target_value = 50
257257
scale_in_cooldown = 180
258258
scale_out_cooldown = 180
259259
}

0 commit comments

Comments
 (0)