タスク定義でlatestのDockerイメージを取得している場合、タスクを停止することで簡単にコンテナの最新化ができるので
単純な1タスク動作時のコマンドメモ
aws ecs stop-task --cluster sample-cluster --task $(aws ecs list-tasks --cluster sample-cluster --query "taskArns" --output text)
More than 5 years have passed since last update.
タスク定義でlatestのDockerイメージを取得している場合、タスクを停止することで簡単にコンテナの最新化ができるので
単純な1タスク動作時のコマンドメモ
aws ecs stop-task --cluster sample-cluster --task $(aws ecs list-tasks --cluster sample-cluster --query "taskArns" --output text)
Register as a new user and use Qiita more conveniently