-
Notifications
You must be signed in to change notification settings - Fork 825
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 [amplify-XXX] already exists when amplify init #14017
Comments
Hey @nelmasry, thank you for reaching out. Could you try using |
hi @ykethan , yes i have tried but for some reason amplify pull command can not find the app with the sent app Id, although i run amplify list apps and app exists, even when send same aws credentials and region |
Hey @nelmasry, could you try adding a |
@ykethan |
@nelmasry apologies, could you run this outside your existing project directory. The |
hi @ykethan
Honestly, I'm not sure why you didn’t suggest checking this file, as it seems to be the root cause of such issues. This was also the case in other bug reports like this one. Anyway, thank you for your support and efforts to help. The issue is now resolved. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
How did you install the Amplify CLI?
npm (npm install -g @aws-amplify/cli@latest)
If applicable, what version of Node.js are you using?
18.x
Amplify CLI Version
12.13.0 & 10.0.0
What operating system are you using?
ubuntu-latest
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
Nothing, suddenly it stopped working.
Describe the bug
I'm working with amplify with github actions to automate deployments and was working fine, suddenly it started to fail showing me error that
Stack [amplify-XXX] already exists when amplify init
I have checked #11120 (comment) and tried downgrading amplify cli to 10.0.0 as mentioned in the thread but it didn't fix the issue, it just changed the error to
AlreadyExistsException: Stack [amplify-xxx] already exists at Request.extractError (/snapshot/repo/build/node_modules/aws-sdk/lib/protocol/query.js:50:29) at Request.callListeners (/snapshot/repo/build/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
Expected behavior
Pipeline works normally and deploy to existing environments without issues.
Reproduction steps
Create github actions pipeline to deploy amplify existing env
Project Identifier
No response
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: