I have an environment which is already bootstrapped, and bootstrapping again (with CDK 1.106.1) doesn't seem to do anything:
$ cdk bootstrap aws://unknown-account/ap-southeast-2
'@aws-cdk/core:newStyleStackSynthesis' context set, using new-style bootstrapping
[…]
⏳ Bootstrapping environment aws://unknown-account/ap-southeast-2...
Trusted accounts: (none)
Using default execution policy of 'arn:aws:iam::aws:policy/AdministratorAccess'. Pass '--cloudformation-execution-policies' to customize.
However, the very next command warns about the bootstrap stack being too old:
$ cdk diff
[…]
Other Changes
[+] Unknown Rules: {"CheckBootstrapVersion":{"Assertions":[{"Assert":{"Fn::Not":[{"Fn::Contains":[["1","2","3"],{"Ref":"BootstrapVersion"}]}]},"AssertDescription":"CDK bootstrap stack version 4 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."}]}}
What gives? 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 re-bootstrapped successfully, but I'm still getting the same warning. What gives? I'm clearly running cdk bootstrap with a recent version of CDK.
I've now filed a CDK issue for this.

