Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do we add wait feature in aws ecs update-service cli command?

Is that possible can we add "wait" feature in below cli command without running another command "aws ecs wait services-stable"

aws ecs update-service --cluster "$CI_AWS_ECS_CLUSTER" --service "$CI_AWS_ECS_SERVICE" \
            --task-definition "family:revision" --wait ?
like image 445
gcpdev Avatar asked Sep 11 '25 08:09

gcpdev


1 Answers

No it's not possible to make the first command wait. You have to run the aws ecs wait services-stable command after, if you want to wait on your deployment to complete.

like image 61
Mark B Avatar answered Sep 13 '25 23:09

Mark B