From 88cac0291d26ef7ed6cbbcf09f4245f5e7355ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Mon, 10 Jun 2024 05:20:57 +0100 Subject: [PATCH] infra: update --- terraform/locals.tf | 3 ++- terraform/service_api.tf | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/terraform/locals.tf b/terraform/locals.tf index 55b3ee1..d85874f 100644 --- a/terraform/locals.tf +++ b/terraform/locals.tf @@ -21,7 +21,8 @@ locals { ecs = { instance_types = { - "t3a.medium" = "" + # "t3a.medium" = "" + "m5n.xlarge" = "" } } diff --git a/terraform/service_api.tf b/terraform/service_api.tf index 771ad82..1066216 100644 --- a/terraform/service_api.tf +++ b/terraform/service_api.tf @@ -22,8 +22,8 @@ module "ecs_api" { lb_health_check_enabled = true lb_path = "/health" - container_memory_soft_limit = 1024 - container_memory_hard_limit = 2048 + container_memory_soft_limit = 6144 + container_memory_hard_limit = 7168 log_group_name = module.ecs_cluster.log_group_name service_discovery_namespace_id = module.ecs_cluster.service_discovery_namespace_id