-
Notifications
You must be signed in to change notification settings - Fork 824
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
"Stack [...] already exists, please report this issue to amplify-cli github" error and amplify console build timeout #11120
Comments
I'm getting the same build issues since October 3rd when using github actions i.e. I can manually deploy on my local workstation but the "amplify init" commands are failing in the CICD process: either the current stack is not found and it tries to create a new stack or we get the message above (Stack [...] already exists). |
Some additional information. Strangely, If we run the script locally, it picks up the current amplify app/stack and works as expected i.e. it just initializes with the existing amplify app. Here is the .sh script we are using for the cicd process #!/bin/bash CATEGORIES="{ |
Hey folks using CLI v10.2.1 I cloned an existing project from git, attempted a headless init, and was able to reproduce this issue. After switching to
After upgrading to v10.2.2 I was not able to initialize my project with the same headless init command.
Marking this as a bug, as a workaround please replace |
@josefaidt thanks for taking a look. |
Hey folks I will note I was not able to reproduce this in Amplify Hosting, but this is a bug with headless init nonetheless
@conorw I don't believe headless pull will accept those inputs, however I did notice I'm able to run headless init after pulling the project. Could you perhaps run a lean headless pull command (e.g. |
cool. thanks @josefaidt i will give both a try. |
I downgraded amplify cli to 10.0.0 in Amplify Console and now the build succeeds. |
For fix, reproduction steps are:
|
@josefaidt I can confirm that performing amplify pull before init, is successfully working as a workaround, thanks. |
Hey @conorw glad to hear that you're up and running! Apologies for the hurdle, the team is actively investigating 🙂 |
Hello guys. |
@hisham what do you have in your |
Hi @swaminator - I just sent the amplify.yml and related contents to [email protected] |
I am still facing the issue, when is this expected to get updated |
Me too |
Hey @vidhyasagarj would you mind opening a separate bug report if you are experiencing this? |
I also get this error on Vercel with 12.0.0, 11.1.1 and with 10.0.0 |
I'm also facing the same issue |
This is still an issue with amplify 12.10.1 the |
I'm using the latest version |
Before opening, please confirm:
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
14
Amplify CLI Version
10.2.2
What operating system are you using?
Amazonlinux
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
no
Amplify Categories
Not applicable
Amplify Commands
init
Describe the bug
In amplify-console, since Oct. 3, we have repeatedly been getting build timeouts and the following error:
[31mAn error occurred when creating the CloudFormation stack�[39m
2022-10-05T20:46:14.908Z [INFO]: 🛑 Stack [amplify-ess-app-abdulladev-215910] already exists
2022-10-05T20:46:14.908Z [INFO]: Resolution: Please report this issue at https://github.com/aws-amplify/amplify-cli/issues and include the project identifier from: 'amplify diagnose --send-report'
In my local workstation I'm able to do an amplify push with no issues, although I have not tested 'amplify init'. I created aws-amplify/amplify-hosting#3017 since this seems to be amplify-console issue but I have no response so far.
Since the logs are telling me to send this report to you and file an issue I'm doing so here. My project identifier (when I run amplify diagnose in my local workstation) is 3def1a2bd59d61900f734d59f169a578.
Expected behavior
Backend build should complete successfully, and if there is error it should fail immediately rather than waiting 30 min and timing out.
Reproduction steps
Do any deployment in amplify console env d2d6ty1wlg8jch
GraphQL schema(s)
# Put schemas below this line
Project Identifier
3def1a2bd59d61900f734d59f169a578
Log output
Additional information
No response
The text was updated successfully, but these errors were encountered: