Skip to content

Commit

Permalink
infra: downscale cluster (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio authored Jun 17, 2024
1 parent fe080ec commit 0478911
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion terraform/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module "ecs_cluster" {
instance_types = local.ecs.instance_types

min_size = 2
max_size = 8
max_size = 2
minimum_scaling_step_size = 1
maximum_scaling_step_size = 1

Expand Down
3 changes: 1 addition & 2 deletions terraform/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ locals {

ecs = {
instance_types = {
# "t3a.medium" = ""
"m5n.xlarge" = ""
"t3a.small" = ""
}
}

Expand Down

0 comments on commit 0478911

Please sign in to comment.