Skip to content

Commit

Permalink
Merge pull request #101 from dxw/fix-service-grace-period
Browse files Browse the repository at this point in the history
Fix ECS service grace period
  • Loading branch information
Stretch96 authored Jun 7, 2024
2 parents ccdd862 + b365f7a commit ab45854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecs-cluster-infrastructure-service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ resource "aws_ecs_service" "infrastructure_ecs_cluster_service" {
}
}

health_check_grace_period_seconds = each.value["container_heath_grace_period"]
health_check_grace_period_seconds = each.value["container_port"] != 0 ? each.value["container_heath_grace_period"] : null

launch_type = "EC2"

Expand Down

0 comments on commit ab45854

Please sign in to comment.