Skip to content

Instantly share code, notes, and snippets.

@dbalan
Created June 12, 2014 14:27
Show Gist options
  • Save dbalan/d0bb5ecae521898ceda3 to your computer and use it in GitHub Desktop.
Save dbalan/d0bb5ecae521898ceda3 to your computer and use it in GitHub Desktop.
Batch delete EC2 lauch configs.
for i in $LC
do
aws --region us-east-1 autoscaling delete-launch-configuration --launch-configuration-name $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment