Created
August 30, 2016 18:44
-
-
Save deptno/96de009c509525d9a25565410772819e to your computer and use it in GitHub Desktop.
ecs cluster stop first container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws ecs stop-task --cluster FoxCrane --region ap-northeast-1 --task `aws ecs list-tasks --cluster FoxCrane --region ap-northeast-1 | grep arn | node -e "i = process.stdin; i.resume(); i.on('data', data => console.log(data.toString().trim().replace(/\"/g, '')));"` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment