Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add try catch around cdk bootstrap to catch deletion rejections #225

Merged
merged 1 commit into from
Dec 19, 2022

Conversation

shanejearley
Copy link
Contributor

I couldn't replicate the bug regardless of which profile I used or whether the current stage's (bootstrapped) CDK Toolkit stack already existed. But, if you run into it again the error is caught and ignored (and relies on the existing stack, which is fine, since this is just needed once per stage). Your current defaults (STAGE=dev in the scripts and PROFILE={your-consensus-dev-name} in the .env) should work.

@shanejearley shanejearley requested a review from ccali11 December 19, 2022 18:56
Copy link
Contributor

@ccali11 ccali11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet. Approving and will merge.

@ccali11 ccali11 merged commit d96f0b9 into develop Dec 19, 2022
@ccali11 ccali11 deleted the bug/forbidden-bootstrap branch December 19, 2022 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants