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.

已提问 3 个月前152 查看次数
2 回答
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.

已回答 3 个月前
-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
专家
已回答 3 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容