Moses Liao GZ
Moses Liao GZ

Reputation: 1608

ECS deployment timeout

I am trying to deploy my ecs but I faced a timeout issue

enter image description here

and my deployment get stuck here. How does this happen?

enter image description here

Upvotes: 0

Views: 3772

Answers (2)

Moses Liao GZ
Moses Liao GZ

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

sin
sin

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

Related Questions