ECS fargate service created, but the container is not fully ready #6398
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ecs
Issues and PRs that pertain to the ecs service.
This issue was originally opened by @rajeevr2715 as hashicorp/terraform#19323. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Terraform Configuration Files
Debug Output
Crash Output
Expected Behavior
depends_on should check, the container is up and running. ie, here sonarqube is running on ec2 fargate. Sonarqube container will take some time to start up delay. If I add this code at the end of resource
provisioner "local-exec" {
command = "sleep 2m"
}
It will work.
Actual Behavior
Null resource with depends_on to aws_ecs_service will get failed with request timeout. Even the health check interval is not actually wait for the container to fully up and running.
Steps to Reproduce
Additional Context
References
The text was updated successfully, but these errors were encountered: