How do I use the aws cli with RDS preview databases?

0

I perform all my validation and operations using the aws cli, however the preview databases are not visible to me. I am in the us-east-2 region. I do not see a way to get different IAM credentials to access.

asked 3 months ago141 views
2 Answers
0

I use aws rds describe-db-engine-versions in my tooling and this does not include preview versions.

Are you saying that when you run the following command you get content?

$ aws rds describe-db-engine-versions --region us-east-2 --output json | grep -i preview

I also launched several preview RDS instances via the console at https://aws.amazon.com/rds/databasepreview but I've found no way to use describe-db-instances for example.

answered 3 months ago
-1

You can try like

aws rds describe-db-engine-versions --query "DBEngineVersions[?contains(EngineVersion, 'preview')].[Engine,EngineVersion]"

You can play around with A JMESPath query to use in filtering the response data and update above for your need. Idea is that list out aws rds describe-db-engine-versions and then further filter

profile pictureAWS
EXPERT
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions