Transfer data cross account from S3 to S3 using DataSync

0

Hi AWS,

I am facing issue while transferring data from Account A S3 bucket to Account B S3 bucket as the person who owns the Account B S3 bucket is getting this error Cross-account pass role is not allowed. Are we missing any IAM permissions either from our end or his end which is giving such error.

Please guide.

2 Antworten
0

The source bucket policy must allow IAM users/roles in the destination account to access the bucket.

And the destination bucket must be created according to the instructions in https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html

You can't use the cross-account pass role to access the cross-account S3 location https://repost.aws/knowledge-center/datasync-transfer-cross-account-s3

profile picture
EXPERTE
Steve_M
beantwortet vor 9 Monaten
profile pictureAWS
EXPERTE
überprüft vor 9 Monaten
0

Hi, the required bucket policy, IAM role and configuration is outlined in this AWS DataSync tutorial that walks through configuring cross account transfers between S3 locations. https://docs.aws.amazon.com/datasync/latest/userguide/tutorial_s3-s3-cross-account-transfer.html

AWS
beantwortet vor 8 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen