Created
January 15, 2019 18:08
-
-
Save gyant/34b2abd70b9510f91124a5fdf33e315d to your computer and use it in GitHub Desktop.
Delete All EC2 Placement Groups
This file contains 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 ec2 describe-placement-groups | jq -r '.PlacementGroups[] | .GroupName' | xargs -I {} aws ec2 delete-placement-group --group-name {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment