From 0d63e31e63dc511066e963c1ade55011a07d376f Mon Sep 17 00:00:00 2001 From: Om Mishra <32200996+mishraomp@users.noreply.github.com> Date: Wed, 11 Dec 2024 21:04:02 -0800 Subject: [PATCH] chore: more resources for flyway --- infrastructure/api/ecs.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infrastructure/api/ecs.tf b/infrastructure/api/ecs.tf index 5983ae5d..2cedcd52 100644 --- a/infrastructure/api/ecs.tf +++ b/infrastructure/api/ecs.tf @@ -49,6 +49,8 @@ resource "aws_ecs_task_definition" "node_api_task" { { name = "${var.app_name}-flyway" image = "${var.flyway_image}" + cpu = 1024 + memory = 2048 essential = false environment = [ { @@ -169,4 +171,4 @@ resource "aws_ecs_service" "node_api_service" { wait_for_steady_state = true depends_on = [aws_iam_role_policy_attachment.ecs_task_execution_role] tags = local.common_tags -} \ No newline at end of file +}