diff --git a/terraform/groups/ecs-service/main.tf b/terraform/groups/ecs-service/main.tf index 792cb482..4951d777 100644 --- a/terraform/groups/ecs-service/main.tf +++ b/terraform/groups/ecs-service/main.tf @@ -60,7 +60,7 @@ module "ecs-service" { use_task_container_healthcheck = true healthcheck_path = local.healthcheck_path healthcheck_matcher = local.healthcheck_matcher - health_check_grace_period_seconds = 300 + health_check_grace_period_seconds = 420 healthcheck_healthy_threshold = "2" # Service performance and scaling configs diff --git a/terraform/groups/ecs-service/profiles/staging-eu-west-2/staging/vars b/terraform/groups/ecs-service/profiles/staging-eu-west-2/staging/vars index c70de883..a8b159e0 100644 --- a/terraform/groups/ecs-service/profiles/staging-eu-west-2/staging/vars +++ b/terraform/groups/ecs-service/profiles/staging-eu-west-2/staging/vars @@ -9,4 +9,8 @@ service_scaledown_schedule = "55 19 * * ? *" service_scaleup_schedule = "5 6 * * ? *" required_cpus = 512 -required_memory = 1024 \ No newline at end of file +required_memory = 2048 +service_autoscale_target_value_cpu = 70 +desired_task_count = 2 +max_task_count = 8 +min_task_count = 2