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 個答案
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
專家
Steve_M
已回答 8 個月前
profile pictureAWS
專家
已審閱 8 個月前
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
已回答 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南