ecs-deploy
ecs-deploy copied to clipboard
"--rollback" doesn't work with ALB
I use below command to update the service -
ecs deploy $CLUSTER_NAME $SERVICE_NAME --image $SERVICE_NAME $ECR_IMAGE_URL:$IMAGE_TAG --rollback --timeout 600
It doesn't rollback the taskdef in case of ALB health check failures. Is it expected? Any plans to support this?
@fabfuel
Hi @vivekyad4v, the rollback happens, if the service does not get to a "steady state" during the timeout of 600 seconds. It also happens, if the deployment fails due to health check failures in the ALB.
Would you share your command output? Then i could have a look and share my insights.
Best Fabian