(aws-cdk): Error after upgrading to 1.109.0: This CDK deployment requires bootstrap stack version '6', found '5'.
See original GitHub issueOur deployments fail after upgrading CDK to the latest version: This CDK deployment requires bootstrap stack version '6', found '5'. Please run 'cdk bootstrap'.
.
Reproduction Steps
Upgrade from 1.108.0 to 1.109.0.
What did you expect to happen?
Smooth upgrade process.
What actually happened?
It seems a breaking change has been introduced without any notice in the changelog.
Environment
- CDK CLI Version : 1.109.0 (build c647e38)
- Framework Version: 1.109.0 (build c647e38)
- Node.js Version: 14
- OS : macOS
- Language (Version): 4
Other
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
CDK bootstrap stack version 6 required...". cdk 2.1.0 deploy ...
After the successful cdk deploy , the synth and diff continue to fail. Reproduction Steps. Upgrade cdk 2.0.0 to 2.1.0; run cdk bootstrap...
Read more >AssertDescription: CDK bootstrap stack version 6 required
The error message is pretty clear as to what to do: This CDK deployment requires bootstrap stack version '6', found an older version....
Read more >Bootstrapping - AWS Cloud Development Kit (AWS CDK) v2
If you attempt to deploy an AWS CDK application into an environment that doesn't have the necessary resources, an error message reminds you...
Read more >awslabs/aws-cdk - Gitter
It's not a "blow up" error, it's that my "cdk synth" command returns only the content shown above, with this message: AssertDescription: CDK...
Read more >aws-cdk.pipelines - PyPI
To provision the pipeline you have defined, make sure the target environment has been bootstrapped (see below), and then execute deploying the PipelineStack...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rkustner … the bootstrap is backwards compatible, templates created with cdk 1.109 need bootstrap 6 or higher… So a template that requried version 4 or higher ( about version 0.72? ) will work very happily with bootstreap version 6.
We run an evergreen environment. We take the approach that we’ll always keep uptodate, and we’ll make what changes we need to keep to date at all times. It means we need to be quite quick on our feet at time when an upgrade like this occurs…
@straygar the issue here is we have hundreds of accounts and this kind of change is very unexpected and will break the usual workflows. I wish this change would have been bundled with CDK v2 which includes other breaking changes.