If “Amplify push” is returning this:

Updating resources in the cloud. This may take a few minutes...
Following resources failed
× An error occurred when pushing the resources to the cloud
🛑 An error occurred during the push operation: Resource is not in the state stackUpdateComplete

This happened after creating a function. The only solution I could find at the moment was creating another deploy environment… and that is killing a mosquito with a canon!

Verified… same project (source code)… different Amplify Environments… one fails, the other succeed