Skip to content

Commit

Permalink
increased container size in prod (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass authored Nov 14, 2024
1 parent 8be3428 commit 996e63d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tofu/modules/services/backend-service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ resource "aws_ecs_task_definition" "backend" {
execution_role_arn = var.task_execution_role
network_mode = "awsvpc"
requires_compatibilities = ["FARGATE"]
cpu = "512"
memory = "1024"
cpu = var.app_env == "prod" ? "1024" : "512"
memory = var.app_env == "prod" ? "4096" : "1024"
runtime_platform {
cpu_architecture = "X86_64"
operating_system_family = "LINUX"
Expand Down

0 comments on commit 996e63d

Please sign in to comment.