From f7aaa59c88bb3dea8769d7043f8c0e6f6030eaf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Thu, 15 May 2025 10:35:43 +0100 Subject: [PATCH 1/2] infra: scale up --- terraform/ecs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/ecs.tf b/terraform/ecs.tf index e1c9f8a97..2732661a6 100644 --- a/terraform/ecs.tf +++ b/terraform/ecs.tf @@ -8,7 +8,7 @@ module "ecs_cluster" { default_instance_type = "t3a.small" instance_types = local.ecs.instance_types - min_size = 1 + min_size = 2 max_size = 3 minimum_scaling_step_size = 1 maximum_scaling_step_size = 1 From b780808ec499d0b8de67fe5f6804f57e8bc54642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Thu, 15 May 2025 10:40:36 +0100 Subject: [PATCH 2/2] wip --- terraform/service_api.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/service_api.tf b/terraform/service_api.tf index 8ab406269..1d19331fb 100644 --- a/terraform/service_api.tf +++ b/terraform/service_api.tf @@ -7,8 +7,8 @@ module "ecs_api" { name = "api-${var.env}" cluster_name = module.ecs_cluster.cluster_name - min_capacity = 1 - max_capacity = 3 + min_capacity = 2 + max_capacity = 4 image_repo = local.images.api.image image_tag = local.images.api.tag