Can't init project with Amplify
See original GitHub issueHi I’m trying to initialize a project by running the command amplify init
but after I make the selections, it comes back with an error:
⠧ Initializing project in the cloud...An error occurred when creating the CloudFormation stack
✖ Root stack creation failed
init failed
{ OptInRequired: The AWS Access Key Id needs a subscription for the service
at Request.extractError (/Users/edward/.config/yarn/global/node_modules/aws-sdk/lib/protocol/query.js:50:29)
at Request.callListeners (/Users/edward/.config/yarn/global/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/Users/edward/.config/yarn/global/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/Users/edward/.config/yarn/global/node_modules/aws-sdk/lib/request.js:683:14)
at Request.transition (/Users/edward/.config/yarn/global/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/Users/edward/.config/yarn/global/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /Users/edward/.config/yarn/global/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/Users/edward/.config/yarn/global/node_modules/aws-sdk/lib/request.js:38:9)
at Request.<anonymous> (/Users/edward/.config/yarn/global/node_modules/aws-sdk/lib/request.js:685:12)
at Request.callListeners (/Users/edward/.config/yarn/global/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
message: 'The AWS Access Key Id needs a subscription for the service',
code: 'OptInRequired',
time: 2019-03-03T21:14:34.638Z,
requestId: '581c6e4a-3df9-11e9-8269-59b4c2d8d7d2',
statusCode: 403,
retryable: false,
retryDelay: 21.790819558046604 }
How do I opt in? I was wondering how do I fix this issue?
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Get started - Typical workflows - AWS Amplify Docs
To initialize a new Amplify project, run the following command from the root directory of your frontend app. ... The init command goes...
Read more >Team workflows with Amplify backend environments
Create prod, test, and dev backend environments with the Amplify CLI. ... Install the Amplify CLI to initialize a new Amplify project.
Read more >AWS amplify Can't resolve '@aws-amplify/core' - Stack Overflow
When scaffolding a new react app, there are a few steps beyond npx create-react-app that need to be run to Amplify your project....
Read more >Open Source your AWS Amplify Project in 3 Steps | Kilo Loco
Setup Git. First, start by setting up Git for your project (you should be in the root directory of your project): git init....
Read more >AWS Amplify for iOS - Initialize Amplify in an iOS XCODE project!
In this video, I show you how to initialize an amplify project in an iOS project. ... Your browser can't play this video....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@arjunkalburgi I had to contact Amazon support and they were able to verify me through a call instead.
This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-help
channels for those types of questions.