aws-amplify / aws-amplify/docs
AWS Amplify Gen 2 - Add Existing S3: Where to find settings "AWS-account-ID" and "role-name?
- Dominant language
- MDX
- Stars
- 506
- Forks
- 1.1k
- Avg merge
- 3h 14m
- Merged PRs (30d)
- 1
Description
I am following the docs here: [Use Amplify Storage with any S3 bucket](https://docs.amplify.aws/angular/build-a-backend/storage/use-with-custom-s3/
In the first step, it's asking to edit the S3 bucket policy with the following information: Replace with your AWS account ID and with the IAM role associated with your Amplify Auth setup.

Where can I find the "AWS-account-ID" and the "role-name"?
I am guessing that the "AWS-account-ID" is the ID found in the Amplify App Settings where it says App ARN:

I can find the Cognito User Pool associated with my Auth, but I am not sure where to find the "role-name". (There are about 200 roles in my account). The existing S3 that I want to re-use was created with Amplify Gen 1 v5.
The documentation should explain those steps in more details.
Contributor guide
Assessment
This issue has not been assessed yet.