We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1108893 commit a18f436Copy full SHA for a18f436
main.tf
@@ -173,7 +173,7 @@ resource "aws_ecs_service" "service" {
173
launch_type = "FARGATE"
174
deployment_minimum_healthy_percent = var.deployment_minimum_healthy_percent
175
deployment_maximum_percent = var.deployment_maximum_percent
176
- health_check_grace_period_seconds = var.health_check_grace_period_seconds
+ health_check_grace_period_seconds = var.load_balanced ? var.health_check_grace_period_seconds : null
177
178
network_configuration {
179
subnets = var.private_subnet_ids
0 commit comments