From 04789112c78aab90789abcbc0cba349bdb327b78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Mon, 17 Jun 2024 23:10:49 +0100 Subject: [PATCH] infra: downscale cluster (#210) --- terraform/ecs.tf | 2 +- terraform/locals.tf | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/terraform/ecs.tf b/terraform/ecs.tf index 6a22504..41230ca 100644 --- a/terraform/ecs.tf +++ b/terraform/ecs.tf @@ -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 diff --git a/terraform/locals.tf b/terraform/locals.tf index 72909fd..7f58c85 100644 --- a/terraform/locals.tf +++ b/terraform/locals.tf @@ -21,8 +21,7 @@ locals { ecs = { instance_types = { - # "t3a.medium" = "" - "m5n.xlarge" = "" + "t3a.small" = "" } }