- Newest
- Most votes
- Most comments
It sounds like you're encountering multiple issues with the Amplify 2.0 update, including errors related to the CDK toolkit stack and deployment failures. Here are some steps you can take to troubleshoot and potentially resolve these issues:
-
Review Documentation and Release Notes: Check the Amplify documentation and release notes for any information related to the Amplify 2.0 update. There may be specific changes or requirements that you need to be aware of when upgrading.
-
Check IAM Permissions: Ensure that your IAM user or role has the necessary permissions to deploy and manage Amplify resources. The permissions required may have changed with the update, so it's worth reviewing the updated documentation to confirm the required permissions.
-
Verify Amplify CLI Version: Make sure you're using the latest version of the Amplify CLI. You can update the CLI by running
npm install -g @aws-amplify/cli
if you haven't already done so. -
Check AWS CDK Toolkit Stack: If you're encountering errors related to the CDK toolkit stack already existing, you may need to manually delete the stack from the AWS CloudFormation console. Make sure to carefully follow the steps to delete the stack, ensuring that you skip deletion of S3 buckets and bootstrap resources as needed.
-
Resolve Rollback in Progress: If you're unable to delete the CDK toolkit stack due to a "rollback in progress" error, you may need to wait for the rollback to complete before attempting to delete the stack again. You can monitor the stack events in the CloudFormation console to track the progress of the rollback.
-
Review CloudFormation Stack Events: Check the CloudFormation stack events for the CDK toolkit stack to identify any specific errors or issues that are preventing the stack from being deleted or updated. This can help you pinpoint the root cause of the problem.
-
Contact AWS Support: If you're still unable to resolve the issues after trying the above steps, consider reaching out to AWS Support for assistance. They can provide additional guidance and troubleshooting steps based on the specifics of your situation.
Overall, upgrading to a new version of a service can sometimes introduce unexpected issues, but by carefully reviewing the documentation, verifying permissions, and troubleshooting specific errors, you should be able to resolve the issues and successfully deploy your application on Amplify 2.0.
your chatGPT response is not useful unfortunately.
I got the same today after setting up a fresh amplify project and deploying a new app from GitHub.
- Attempt 1: Build failed - Error bootstraping ROLLBACK_IN_PROGRESS
- Attempt 2: Build failed - Stack [CDKToolkit] already exists
I tried to remove the CloudFormation Stack [CDKToolkit], but I get the same issue.
Seems I fixed it by removing the CloudFormation Stack [CDKToolkit] and clearing my S3 buckets
Relevant content
- asked 3 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago
sounds like alotta issues to me. check out the answer im gonna submit