Read more

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

Claus-Theodor Riegg
January 13, 2020Software engineer at makandra GmbH
aws rds describe-db-instances | jq '.[][] | select(.DeletionProtection == false) | .DBInstanceIdentifier' | xargs -L1 -t aws rds modify-db-instance --deletion-protection --db-instance-identifier
Illustration money motivation

Opscomplete powered by makandra brand

Save money by migrating from AWS to our fully managed hosting in Germany.

  • Trusted by over 100 customers
  • Ready to use with Ruby, Node.js, PHP
  • Proactive management by operations experts
Read more Show archive.org snapshot
Posted by Claus-Theodor Riegg to makandra Operations (2020-01-13 13:12)