Reputation: 149
I have a cluster on ecs everything works well! When I used aws cli v.1, I could update my service used a command like this aws ecs update-service --cluster [cluster-name] --service [service-name] --task-definition [task-name] --force-new-deployment
. After updating CLI to v.2 I try to use this command and everything just stuck! I didn't find any changes in aws documentation. Do you have any ideas?
update: my screenshot the problem is that everything starts well, without errors or warnings, it just gets stuck!
Upvotes: 4
Views: 1383
Reputation: 135
The AWS CLI version 2 uses a client-side pager. As stated in the documentation, you can "use the --no-cli-pager
command line option to disable the pager for a single command use" (or use any of the other options described there).
Upvotes: 5
Reputation: 2189
It worked. What you are seeing is the output as documented. You can scroll through the output using up and down arrow keys or hit the Q
key to dismiss the output.
Alternately, you can redirect the output to a file for review later:
aws ecs update-service ... > result.json
Or just ignore the output entirely:
aws ecs update-service ... > /dev/null
Upvotes: 0