Skip to content

Instantly share code, notes, and snippets.

@albarki albarki/
Created Jul 7, 2018

What would you like to do?
Get List of RDS instances from All regions
for region in `aws ec2 describe-regions --output text | cut -f3`
echo -e "\nListing RDS in region:'$region'..."
aws rds describe-db-instances \
--region $region \
--query 'DBInstances[*].[DBInstanceIdentifier,ReadReplicaDBInstanceIdentifiers]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.