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?

feita há 9 meses377 visualizações
1 Resposta
1
Resposta aceita

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
ESPECIALISTA
respondido há 9 meses
profile pictureAWS
ESPECIALISTA
avaliado há 9 meses
profile picture
ESPECIALISTA
avaliado há 9 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas