UPDATE_ROLLBACK_FAILED after pushing with insufficient permissions #13794
Labels
pending-triage
Issue is pending triage
platform-push
Issues related to `amplify push`
transferred
This issue was transferred from another Amplify project
Before opening, please confirm:
JavaScript Framework
Next.js
Amplify APIs
Authentication
Amplify Version
v6
Amplify Categories
auth
Backend
Amplify CLI
Environment information
Describe the bug
I tied to promote changes from dev env to staging env. One of the changes was relative to the auth UserPools. In my staging environment there was an old credentials that had limited access to the Cognito service so the push failed due to insufficient permissions. Now the CloudFormation stack is in UPDATE_ROLLBACK_FAILED state. I tried to continue rollback with optional skips for all possible skip combinations and the all failed.
So now I am stuck and cannot push or do anything. I certainly do not want to delete the whole stack as there are DB and users data I don't want to lose.
Here is the detailed message from CloudFormation about the "root cause":
Currently in UPDATE_ROLLBACK_FAILED with reason: The following resource(s) failed to update: [UserPool].
Expected behavior
push can recover from this state automatically or at least rollback can be done in CloudFormation.
Reproduction steps
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: