Andreas Vöst
4 years
Claus-Theodor Riegg
9 years
Claus-Theodor Riegg
8 years
Marius Schuller
5 years
Marius Schuller
5 years
Henning Koch
10 years
Andreas Herz
6 years
Claus-Theodor Riegg
6 years
Claus-Theodor Riegg
7 years
Claus-Theodor Riegg
7 years
Claus-Theodor Riegg
7 years
Claus-Theodor Riegg
7 years
Claus-Theodor Riegg
8 years

HowTo: enable DeletionProtection for all RDS instances via aws cli and jq

Posted . Visible to the public.
aws rds describe-db-instances | jq '.[][] | select(.DeletionProtection == false) | .DBInstanceIdentifier' | xargs -L1 -t aws rds modify-db-instance --deletion-protection --db-instance-identifier
Claus-Theodor Riegg
Keywords
termination, protection
Tags
License
Source code in this card is licensed under the MIT License.