-
Notifications
You must be signed in to change notification settings - Fork 819
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
Backend deployment failed due to Resource is not in the state stackUpdateComplete
#13420
Comments
Hey @lucajung, thank you for reaching out. Diving into the error message it appears the
to update the layer, could you run |
Hi @ykethan |
@lucajung it appears the lambda layer was created in a older version of Amplify CLI before 5.0. When triggering a update on the layer and running push the layer should be migrated to the newer version. |
@ykethan Actually no. The layer was created around one month ago. Since then I pushed around 200 new versions. It suddenly breaks within the same amplify version without upgrading the amplify version. |
@lucajung could you run |
@ykethan sure. The Project Identifier is |
Hey @lucajung, thank you for the information. On diving into the cloudformation template notices the layer version 8 and 1 contained legacy in the names and the latest version till version 34 did not contain legacy. |
@ykethan Many thanks for your efforts! I deleted some of the layers via the |
@lucajung i understand feel free in reaching out to us. As a side note I would recommend not deleting them directly on the console or AWS CLI as the CloudFormation template may still have reference to the layer and run into CloudFormation push failures. |
@ykethan yes I'll delete them via the |
@lucajung sounds good, i will be closing the issue for now. Do reach out to us if the behaviour reoccurs. |
|
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v18.16.1
Amplify CLI Version
12.8.2
What operating system are you using?
macOS 12.7
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
When I try to deploy my changes I get sometimes the following error:
Expected behavior
The error should not happen
Reproduction steps
The error occurs in a non-deterministic way
Project Identifier
No response
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: