59 cards
Posted over 1 year ago. Visible to the public.

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

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:

Claus-Theodor Riegg
Last edit:
over 1 year ago
by Claus-Theodor Riegg
termination, protection
This website uses short-lived cookies to improve usability.
Accept or learn more