From 8f1b8461fa19647a9b3d9e65e70504acca6f4274 Mon Sep 17 00:00:00 2001 From: Anzanda Date: Sun, 29 Dec 2024 09:12:00 +0000 Subject: [PATCH] feat(infra): decrease ecs client service desired count from 2 to 1 --- apps/infra/production/codedang/codedang_service_client.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/infra/production/codedang/codedang_service_client.tf b/apps/infra/production/codedang/codedang_service_client.tf index ad7e03d6d3..f4a1a07f28 100644 --- a/apps/infra/production/codedang/codedang_service_client.tf +++ b/apps/infra/production/codedang/codedang_service_client.tf @@ -107,7 +107,7 @@ module "client_api" { ecs_service = { name = "Codedang-Client-Api-Service" cluster_arn = module.codedang_api.ecs_cluster.arn - desired_count = 2 + desired_count = 1 load_balancer = { container_name = "Codedang-Client-Api" container_port = 4000 @@ -116,7 +116,7 @@ module "client_api" { } appautoscaling_target = { - min_capacity = 2 + min_capacity = 1 max_capacity = 8 resource_id = { cluster_name = module.codedang_api.ecs_cluster.name