Created
December 4, 2018 08:47
-
-
Save joerx/2324fd47c50db560819a2736f1c35007 to your computer and use it in GitHub Desktop.
Delete RDS snapshots
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
#!/bin/sh | |
for snap in $(cat deleteme.txt); do | |
echo delete $snap | |
aws rds delete-db-snapshot --db-snapshot-identifier $snap | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment