Improve error message of missing CDK bootstrap resources #921
Labels
console
Issues related to Amplify console UI/UX
feature-request
New feature or request
p2
sandbox
Related to the sandbox experience
Environment information
Description
AmplifyGen2 uses a one-time bootstrap setup for account and region before it can start deploying resources per docs. However, if one of the deployed resources are removed e.g
cdk-hnb659fds-deploy-role-XXX-us-west-2
, AmplifyGen2 cannot detect and the application will not deploy and fail with error:Steps to reproduce:
npx amplify sandbox
on new region.CDKToolkit
resources e.gcdk-hnb659fds-deploy-role-XXXXX-us-west-2
The text was updated successfully, but these errors were encountered: