List RDS shared snapshots

0

I'm copying/sharing snapshots from source account to target account and they show on target account on "Shared with me" tab. The whole process works using the console. But when I try to replicate that from cli is not possible as on the destination account I'm not able to list the "Shared with me" snapshots to be able to use the Id to restore it. Shared Snapshots

but using this on target:

aws rds describe-db-cluster-snapshots --snapshot-type shared --region us-east-2                                                                                                                     11:19:37
{
    "DBClusterSnapshots": []
}

Why see the snapshots on console but not on cli? How can I get them from cli on cli not using source account credentials?

preguntada hace 9 meses379 visualizaciones
1 Respuesta
1
Respuesta aceptada

Hello.
Try the following command.
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/describe-db-cluster-snapshots.html

aws rds describe-db-cluster-snapshots --include-shared --snapshot-type shared
profile picture
EXPERTO
respondido hace 9 meses
profile pictureAWS
EXPERTO
revisado hace 9 meses
profile picture
EXPERTO
revisado hace 9 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