Closed SteveJamesDev closed 6 months ago
Hey, thanks for raising this! From the error message, it appears you may need to remove the streaming Lambda function, then push. For confirmation and better assistance, I am going to transfer this over to our API repository.
Hey @SteveJamesDev, According to the error message, you must remove the model dependency from the function prior to deleting the model. Let us know if it resolves your issue.
Hey 👋 , This issue is being closed due to inactivity. If you are still experiencing the same problem and need further assistance, please feel free to leave a comment. This will enable us to reopen the issue and provide you with the necessary support.
This issue is now closed. 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.
How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
Node 20
Amplify CLI Version
12.10.1
What operating system are you using?
Macv
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
Nope (only to resolve the problem)
Describe the bug
I had a model
I changed the schema to
This obviously requires Cloudformation to Drop and Recreate the DynamoDB table
I also have a function that is set to be triggered by a STREAM of that model
Cloud formation crashes with the following error
I guess the stream needs to be removed and recreated for this to work
Expected behavior
It shouldn't crash
Reproduction steps
See bug description
Project Identifier
N/A
Log output
Additional information
No response
Before submitting, please confirm: