Skip to content

Commit 9cee2fa

Browse files
authored
infra: scale down (#978)
* infra: scale down * wip
1 parent 2ca5859 commit 9cee2fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

terraform/ecs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module "ecs_cluster" {
88
default_instance_type = "t3a.small"
99
instance_types = local.ecs.instance_types
1010

11-
min_size = 2
11+
min_size = 1
1212
max_size = 3
1313
minimum_scaling_step_size = 1
1414
maximum_scaling_step_size = 1

terraform/service_api.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module "ecs_api" {
77

88
name = "api-${var.env}"
99
cluster_name = module.ecs_cluster.cluster_name
10-
min_capacity = 2
10+
min_capacity = 1
1111
max_capacity = 4
1212

1313
image_repo = local.images.api.image

0 commit comments

Comments
 (0)