Reputation: 1608
I am trying to deploy my ecs but I faced a timeout issue
and my deployment get stuck here. How does this happen?
Upvotes: 0
Views: 3772
Reputation: 1608
I realised that I should not set the minimum healthy percentage to 50%. I should set it to 0% so as to allow the task to change
Upvotes: 0
Reputation: 302
this is my step to get the taskArn using aws cli
cluster="clustername"
service_arn=$( aws ecs list-services --cluster $cluster --query 'serviceArns[0]' --output text )
task_arn=$( aws ecs list-tasks --cluster $cluster --service-name $service_arn --query 'taskArns[0]' --output text )
Upvotes: 1