diff --git a/modules/gateway-task/main.tf b/modules/gateway-task/main.tf index ff79df3e..db552a14 100644 --- a/modules/gateway-task/main.tf +++ b/modules/gateway-task/main.tf @@ -235,8 +235,8 @@ resource "aws_ecs_task_definition" "this" { ] healthCheck = { command = ["/consul/consul-ecs", "net-dial", format("127.0.0.1:%d", var.envoy_readiness_port)] - interval = 30 - retries = 3 + interval = 5 + retries = 10 timeout = 5 } cpu = 0 diff --git a/modules/mesh-task/main.tf b/modules/mesh-task/main.tf index f8d9a7e4..9f8b5532 100644 --- a/modules/mesh-task/main.tf +++ b/modules/mesh-task/main.tf @@ -246,8 +246,8 @@ resource "aws_ecs_task_definition" "this" { ] healthCheck = { command = ["/consul/consul-ecs", "net-dial", format("127.0.0.1:%d", var.envoy_readiness_port)] - interval = 30 - retries = 3 + interval = 5 + retries = 10 timeout = 5 } cpu = 0