Skip to content

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

Open
@duzo

Description

@duzo

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions