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.

preguntada hace 3 meses152 visualizaciones
2 Respuestas
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.

respondido hace 3 meses
-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
EXPERTO
respondido hace 3 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas