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.

(cli): "To get rid of this warning, please upgrade to boostrap version >= undefined"

See original GitHub issue

What is the problem?

The output of cdk diff and cdk deploy are showing the following console warning after printing stack names:

(To get rid of this warning, please upgrade to bootstrap version >= undefined)

For example:

> cdk diff --profile MyProfile
Including dependency stacks: MyStack
Stack MyStack123
(To get rid of this warning, please upgrade to bootstrap version >= undefined)
There were no differences
Stack MyStack456
(To get rid of this warning, please upgrade to bootstrap version >= undefined)
There were no differences

Reproduction Steps

Unable to reproduce outside my current CDK project.

What did you expect to happen?

This error to not appear, or the undefined value to indicate a value to upgrade to, or for the error to have been fixed after a cdk bootstrap was ran.

What actually happened?

The error persists even after a npm install -g aws-cdk, cdk boostrap --profile MyProfile succeeding, and using the latest .NET AWS CDK at time of writing (1.140.0).

CDK CLI Version

2.8.0 (build 8a5eb49)

Framework Version

No response

Node.js Version

n/a

OS

Windows

Language

.NET

Language Version

1.140.0 C# NuGet

Other information

A brand new cdk init project does not show this error, it must be related to my CDK project.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:8
  • Comments:18 (4 by maintainers)

github_iconTop GitHub Comments

37reactions
ksinkarcommented, Feb 25, 2022

@corymhall Still facing this issue in "aws-cdk": "^2.14.0" (npm only, no python) Screenshot 2022-02-25 at 08 36 44

9reactions
vanniktechcommented, Jun 19, 2022

Having the same with version 2.28.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to upgrade CDK bootstrapping? - Stack Overflow
I'm already running bootstrap with the latest CDK version. How do I upgrade the bootstrap version? I've now deleted the "CDKToolkit" stack and ......
Read more >
Bootstrapping - AWS Cloud Development Kit (AWS CDK) v2
Use the AWS CDK Toolkit's cdk bootstrap command. This is the simplest method and works well if you have only a few environments...
Read more >
AWS CDK Bootstrap Error and How To Fix It - Gerard Ketuma
Open the Cloudformation Service. Under Stacks, select the CDKToolkit stack and click on Delete . You will get a warning that deleting this...
Read more >
Migrating to v5 - Bootstrap
Upgraded from Popper v1.x to Popper v2.x. ... We've ditched the default Sass map merges to make it easier to remove redundant values....
Read more >
AWS CDK 101 - lambda & CDK watch - Dev Post
(To get rid of this warning, please upgrade to bootstrap version >= 8) ✨ Total time: 24.09s. We will add more connections to...
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