Follow these steps to set up access to your AWS account:
Sign in to your AWS administrator account:
https://console.aws.amazon.com/
Press Enter to continue
🛑 spawn xdg-open ENOENT
Resolution: Please report this issue at https://github.com/aws-amplify/amplify-cli/issues and include the project identifier from: 'amplify diagnose --send-report'
Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/
Session Identifier: c8409a47-d71c-448a-99e5-xxxxxxxxxxxxxx
Specify the AWS Region
? region:
eu-west-2
eu-west-3
eu-central-1
❯ ap-northeast-1
ap-northeast-2
ap-southeast-1
ap-southeast-2
(Move up and down to reveal more choices)
次に作成されるIAMユーザー名を聞かれるのでamplify-hansonとします。
Specify the username of the new IAM user:
? user name: amplify-hanson
Complete the user creation using the AWS console
https://console.aws.amazon.com/iam/home?region=ap-northeast-1#/users$new?step=final&accessKey&userNames=amplify-hanson&permissionType=policies&policies=arn:aws:iam::aws:policy%2FAdministratorAccess-Amplify
Enter the access key of the newly created user:
? accessKeyId: ********************
? secretAccessKey: ****************************************
This would update/create the AWS Profile in your local machine
? Profile Name: default
Successfully set up the new user.