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 +}