question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(aws-cdk): Error after upgrading to 1.109.0: This CDK deployment requires bootstrap stack version '6', found '5'.

See original GitHub issue

Our 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:closed
  • Created 2 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
mrpacketheadcommented, Jun 17, 2021

@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…

1reaction
markuslcommented, Jun 17, 2021

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found