Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Amplify Gen 2 - Add Existing S3: Where to find settings "AWS-account-ID" and "role-name? #8007

Open
duzo opened this issue Sep 30, 2024 · 0 comments

Comments

@duzo
Copy link

duzo commented Sep 30, 2024

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.

image

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:
image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants