From cfa859883ed54a916d6183cd04806991273ccc29 Mon Sep 17 00:00:00 2001 From: Paolo Oliveira Date: Thu, 25 Jul 2019 23:50:52 -0300 Subject: [PATCH] adjust FILENO for docker image --- modules/fargate/main.tf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/fargate/main.tf b/modules/fargate/main.tf index f20c924..fbbe7b6 100644 --- a/modules/fargate/main.tf +++ b/modules/fargate/main.tf @@ -76,6 +76,13 @@ resource "aws_ecs_task_definition" "app" { "memory": ${var.fargate_memory}, "name": "app", "networkMode": "awsvpc", + "ulimits": [ + { + "name": "nofile", + "softLimit": 1000000, + "hardLimit": 1000000 + } + ], "portMappings": [ { "containerPort": ${var.app_port},