aws cdk cli: (Cloud assembly schema version mismatch: Maximum schema version supported is 43.x.x, but found 45.0.0. You need at least CLI version 2.1020.2 to read this manifest.)
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
### Describe the bug
(Cloud assembly schema version mismatch: Maximum schema version supported is 43.x.x, but found 44.0.0. You need at least CLI version 2.1020.0 to read this manifest.)
but I'm using latest cdk 2.1020.2 nd aws-cdk-lib 2.204.0
rolling back to aws-cdk == 2.1001.0 aws-cdk-lib == 2.180.0 fixed the problem
### Regression Issue
- [ ] Select this option if this issue appears to be a regression.
### Last Known Working CDK Library Version
_No response_
### Expected Behavior
no err msg
### Current Behavior
error : This CDK CLI is not compatible with the CDK library used by your application. Please upgrade the CLI to the latest version.
(Cloud assembly schema version mismatch: Maximum schema version supported is 43.x.x, but found 45.0.0. You need at least CLI version 2.1020.2 to read this manifest.)
### Reproduction Steps
use cli "aws-cdk": "2.1020.2",
build cdk: "aws-cdk-lib": "2.204.0"
### Possible Solution
_No response_
### Additional Information/Context
Entire pipeline is breaking because of this issue
### AWS CDK Library version (aws-cdk-lib)
2.204.0
### AWS CDK CLI version
2.1020.2
### Node.js Version
v22.19.0
### OS
Ubuntu
### Language
Python
### Language Version
_No response_
### Other information
_No response_
Contributor guide
Research direction
Reproduce the failure with aws-cdk 2.1020.2 and aws-cdk-lib 2.204.0 on Ubuntu with Node.js v22.19.0, then compare it with the reported working versions 2.1001.0 and 2.180.0. Trace the cloud assembly schema versions used by the CLI and library; done means the stated version combination no longer reports an incompatibility error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, node.js, python, typescript
- Domain
- cli, cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100