From fa1fefd97bbcd33a73f39481e44eaaee7910783f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Sun, 1 Dec 2024 12:36:26 +0200 Subject: [PATCH] infra: scale up minimums (#122) --- terraform/ecs.tf | 2 +- terraform/service_app.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/ecs.tf b/terraform/ecs.tf index 43b9e0c..ec00a73 100644 --- a/terraform/ecs.tf +++ b/terraform/ecs.tf @@ -10,7 +10,7 @@ module "ecs_cluster" { "c6a.xlarge" = "" } - min_size = 2 + min_size = 4 max_size = 24 minimum_scaling_step_size = 1 maximum_scaling_step_size = 1 diff --git a/terraform/service_app.tf b/terraform/service_app.tf index 96c7796..ff2ff62 100644 --- a/terraform/service_app.tf +++ b/terraform/service_app.tf @@ -7,7 +7,7 @@ module "ecs_app" { name = "${local.namespace}-app" cluster_name = module.ecs_cluster.cluster_name - min_capacity = 2 + min_capacity = 9 max_capacity = 18 deployment_minimum_healthy_percent = 50