Reputation: 199
Working on a shell script to create a new revision of a ecs task definition & update the ecs service.
Could you please help me out with the aws cli commands (with example) to achieve the same?
Thanks
Upvotes: 6
Views: 5840
Reputation: 200476
You would just call aws ecs register-task-definition
again, the same command you used to create the initial task definition. A new revision number will be assigned, and returned in the output, each time you call that.
Upvotes: 5