Skip to content

Commit

Permalink
feat(infra): decrease ecs client service desired count from 2 to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Anzanda committed Dec 29, 2024
1 parent ca17132 commit 8f1b846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/infra/production/codedang/codedang_service_client.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8f1b846

Please sign in to comment.