Created
January 10, 2023 15:09
-
-
Save tanmay-bhat/298cb6103d7760e9026ac4ea0317df9b to your computer and use it in GitHub Desktop.
AWS CLI command to list all RDS which has backup retention period greater than 7 days :
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws rds describe-db-instances --query 'DBInstances[?BackupRetentionPeriod>`7`].[DBInstanceIdentifier,BackupRetentionPeriod]' --region <region> --output table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment