Error when using StartExportTask to export RDS snapshots to S3

0

When calling StartExportTask API from an AWS account A for a snapshot belonging to AWS account B, I receive the following error: "An error occurred (InvalidParameterValue) when calling the StartExportTask operation: The resource xxxx is owned by a different AWS account. To export resources shared with you, first copy them to your AWS account and then export the copy.". Before calling the API, I have assumed a role with AmazonRDSFullAccess policy to allow accessing the snapshot. This error refers to the "sourceArn" parameter. However, in the AWS documentation https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_StartExportTask.html it does not mention that you can't use the API for snapshots from different AWS accounts. So, the question is, is it possible to call StartExportTask for a snapshot belonging to a different AWS account?

질문됨 일 년 전74회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠