1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
I think the following documentation will be helpful.
To access S3 in another account from Lambda in the main account, you need to set the S3 bucket policy to allow Lambda's IAM role.
https://repost.aws/knowledge-center/access-denied-lambda-s3-bucket
Alternatively, you can access the S3 bucket by configuring the Lambda IAM role to assume the IAM role of the AWS account that owns the S3 bucket, as described in the following document.
https://repost.aws/knowledge-center/lambda-function-assume-iam-role
