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?

1 Answer
1
Accepted Answer

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
EXPERT
answered 8 months ago
profile pictureAWS
EXPERT
reviewed 8 months ago
profile picture
EXPERT
reviewed 8 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