Read more

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

Avatar
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 web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot
Posted by Claus-Theodor Riegg to makandra Operations (2020-01-13 13:12)