Last active
May 29, 2017 22:05
-
-
Save bartoszadamczyk/65fc1d6f835c72dda578b50f8c6cb1db to your computer and use it in GitHub Desktop.
AWS CLI ecs deregister-task-definition bash loop
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
| #!/bin/bash | |
| for i in {1..199} | |
| do | |
| sleep 0.5s | |
| aws ecs deregister-task-definition --task-definition playwat-api-service:$i | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment