From 7617981642c9f9486397cd62f6a285480ef8a071 Mon Sep 17 00:00:00 2001 From: Kai Siren Date: Tue, 26 Nov 2024 09:24:42 -0800 Subject: [PATCH 1/2] up ASG targets --- infra/modules/service/autoscaling.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/modules/service/autoscaling.tf b/infra/modules/service/autoscaling.tf index 9fe2b9f21..e17297e83 100644 --- a/infra/modules/service/autoscaling.tf +++ b/infra/modules/service/autoscaling.tf @@ -25,7 +25,7 @@ resource "aws_appautoscaling_policy" "ecs_scale_policy_memory" { } scale_in_cooldown = 300 scale_out_cooldown = 5 - target_value = 50 + target_value = 75 } } @@ -42,6 +42,6 @@ resource "aws_appautoscaling_policy" "ecs_scale_policy_cpu" { } scale_in_cooldown = 300 scale_out_cooldown = 5 - target_value = 50 + target_value = 75 } } From 2ae43106c57294aa87503899c6cd92fcae3db6ed Mon Sep 17 00:00:00 2001 From: Kai Siren Date: Tue, 26 Nov 2024 12:09:29 -0800 Subject: [PATCH 2/2] adjust targets once more --- infra/modules/service/autoscaling.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/modules/service/autoscaling.tf b/infra/modules/service/autoscaling.tf index e17297e83..55da39abb 100644 --- a/infra/modules/service/autoscaling.tf +++ b/infra/modules/service/autoscaling.tf @@ -25,7 +25,7 @@ resource "aws_appautoscaling_policy" "ecs_scale_policy_memory" { } scale_in_cooldown = 300 scale_out_cooldown = 5 - target_value = 75 + target_value = 99 } }