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

amplify init - You have reached the Amplify App limit for this account and region #13126

Closed
2 tasks done
Sky-Soo-Ap opened this issue Aug 17, 2023 · 3 comments
Closed
2 tasks done
Labels
pending-triage Issue is pending triage platform-init Issues related to initializing a new Amplify project

Comments

@Sky-Soo-Ap
Copy link

How did you install the Amplify CLI?

npm install -g @aws-amplify/cli

If applicable, what version of Node.js are you using?

v18.17.1

Amplify CLI Version

12.2.5

What operating system are you using?

Windows 10

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

"No manual changes made"

Describe the bug

I have 1 amplify app and following is the "amplify init --debug" log.

D:\SkySoo\Projects\AWS\Modified_Code\gw-rainbow>amplify init --debug
Note: It is recommended to run this command from the root of your app directory
? Enter a name for the project gwrainbow
The following configuration will be applied:

Project information
| Name: gwrainbow
| Environment: dev
| Default editor: Visual Studio Code
| App type: javascript
| Javascript framework: react
| Source Directory Path: src
| Distribution Directory Path: build
| Build Command: npm.cmd run-script build
| Start Command: npm.cmd run-script start

? Initialize the project with the above configuration? Yes
Using default provider awscloudformation
? Select the authentication method you want to use: AWS profile

For more information on AWS Profiles, see:
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html

? Please choose the profile you want to use default
🛑 You have reached the Amplify App limit for this account and region

Resolution: Use a different account or region with fewer apps, or request a service limit increase: https://docs.aws.amazon.com/general/latest/gr/amplify.html#service-quotas-amplify
Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/

ProjectInitError: You have reached the Amplify App limit for this account and region
at init (C:\snapshot\repo\build\node_modules@aws-amplify\amplify-provider-awscloudformation\lib\amplify-service-manager.js:151:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.run (C:\snapshot\repo\build\node_modules@aws-amplify\amplify-provider-awscloudformation\lib\initializer.js:96:9)

Failed to create app. You have reached the maximum number of apps in this account.
LimitExceededException: Failed to create app. You have reached the maximum number of apps in this account.
at Object.extractError (C:\snapshot\repo\build\node_modules\aws-sdk\lib\protocol\json.js:80:27)
at Request.extractError (C:\snapshot\repo\build\node_modules\aws-sdk\lib\protocol\rest_json.js:61:8)
at Request.callListeners (C:\snapshot\repo\build\node_modules\aws-sdk\lib\sequential_executor.js:106:20)
at Request.emit (C:\snapshot\repo\build\node_modules\aws-sdk\lib\sequential_executor.js:78:10)
at Request.emit (C:\snapshot\repo\build\node_modules\aws-sdk\lib\request.js:686:14)
at Request.transition (C:\snapshot\repo\build\node_modules\aws-sdk\lib\request.js:22:10)
at AcceptorStateMachine.runTo (C:\snapshot\repo\build\node_modules\aws-sdk\lib\state_machine.js:14:12)
at C:\snapshot\repo\build\node_modules\aws-sdk\lib\state_machine.js:26:10
at Request. (C:\snapshot\repo\build\node_modules\aws-sdk\lib\request.js:38:9)
at Request. (C:\snapshot\repo\build\node_modules\aws-sdk\lib\request.js:688:12)
at Request.callListeners (C:\snapshot\repo\build\node_modules\aws-sdk\lib\sequential_executor.js:116:18)
at Request.emit (C:\snapshot\repo\build\node_modules\aws-sdk\lib\sequential_executor.js:78:10)
at Request.emit (C:\snapshot\repo\build\node_modules\aws-sdk\lib\request.js:686:14)
at Request.transition (C:\snapshot\repo\build\node_modules\aws-sdk\lib\request.js:22:10)
at AcceptorStateMachine.runTo (C:\snapshot\repo\build\node_modules\aws-sdk\lib\state_machine.js:14:12)
at C:\snapshot\repo\build\node_modules\aws-sdk\lib\state_machine.js:26:10
at Request. (C:\snapshot\repo\build\node_modules\aws-sdk\lib\request.js:38:9)
at Request. (C:\snapshot\repo\build\node_modules\aws-sdk\lib\request.js:688:12)
at Request.callListeners (C:\snapshot\repo\build\node_modules\aws-sdk\lib\sequential_executor.js:116:18)
at callNextListener (C:\snapshot\repo\build\node_modules\aws-sdk\lib\sequential_executor.js:96:12)
at IncomingMessage.onEnd (C:\snapshot\repo\build\node_modules\aws-sdk\lib\event_listeners.js:417:13)
at IncomingMessage.emit (node:events:525:35)
at IncomingMessage.emit (node:domain:489:12)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Session Identifier: 709794e9-1285-4145-b7b9-90ec4047291c

D:\SkySoo\Projects\AWS\Modified_Code\gw-rainbow>

Expected behavior

amplify init work normally as before.

Reproduction steps

  1. npm install -g @aws-amplify/cli
  2. amplify configure
  3. create a new React app;
    npx create-react-app react-amplified
    cd react-amplified
  4. amplify init

Project Identifier

No response

Log output

# Put your logs below this line


Additional information

No response

Before submitting, please confirm:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.
@Sky-Soo-Ap Sky-Soo-Ap added the pending-triage Issue is pending triage label Aug 17, 2023
@ykethan ykethan added the platform-init Issues related to initializing a new Amplify project label Aug 17, 2023
@ykethan
Copy link
Contributor

ykethan commented Aug 17, 2023

Hey @Sky-Soo-Ap, thank you for reaching out.

You have reached the Amplify App limit for this account and region

It appears you have reach the application limit in the account and region, to mitigate the issue could you open a quota increase request? Please refer to the document providing this information. https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html

@ykethan ykethan added the pending-response Issue is pending response from the issue author label Aug 17, 2023
@Sky-Soo-Ap
Copy link
Author

Hi ykethan,
After increasing AWS-Amplify quotas, then ‘amplify init’ succeeded, so closed it.

@github-actions github-actions bot removed the pending-response Issue is pending response from the issue author label Aug 21, 2023
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-triage Issue is pending triage platform-init Issues related to initializing a new Amplify project
Projects
None yet
Development

No branches or pull requests

2 participants