Skip to content

Commit c697c48

Browse files
authored
fix: Scale down ecs tasks (#921)
1 parent de4118b commit c697c48

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/switch-region.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
--service-namespace ecs \
2929
--scalable-dimension ecs:service:DesiredCount \
3030
--resource-id service/$ECS_CLUSTER_NAME/$ECS_SERVICE_NAME \
31-
--min-capacity 60 --max-capacity 1000 \
31+
--min-capacity 40 --max-capacity 1000 \
3232
--region eu-central-1
3333
3434

src/infra/prod/eu-south-1/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ variable "ecs_oneid_core" {
115115
container_memory = 4096
116116
autoscaling = {
117117
enable = true
118-
desired_count = 60
119-
min_capacity = 60
118+
desired_count = 40
119+
min_capacity = 40
120120
max_capacity = 1000
121121
}
122122
logs_retention_days = 30

0 commit comments

Comments
 (0)