46 cards
View
Posted about 1 month ago. Visible to the public.

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

Copy
aws rds describe-db-instances | jq '.[][] | select(.DeletionProtection == false) | .DBInstanceIdentifier' | xargs -L1 -t aws rds modify-db-instance --deletion-protection --db-instance-identifier

Owner of this card:

Avatar
Claus-Theodor Riegg
Last edit:
about 1 month ago
by Claus-Theodor Riegg
Keywords:
termination, protection
This website uses cookies to improve usability and analyze traffic.
Accept or learn more