-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pipelines: failed to upload stage assets: Cloud assembly schema version mismatch #32744
Comments
Specifically this PR seems to introduce the regression: #32704 Currently, this breaks all our pipelines. |
Installing a pre-release version fixed the issue temporarily. Hopefully it will be released soon as the latest. |
we are also seeing this after updating dependencies today |
Also experiencing it here, does anyone know a workaround? |
From issue description: cdk-assets v3.0.0-rc.111 may support v39. aws-cdk/packages/aws-cdk-lib/pipelines/lib/codepipeline/codepipeline.ts Lines 840 to 842 in 86d2853
|
This is because we didn't bump the dependency in the |
Backport of #277. CDK pipeliens use `npm install -g cdk-assets@latest` to grab a version of `cdk-assets`, but since the 3.x version line is still an RC, the `latest` tag still points to the `2.x` version line. Fixes aws/aws-cdk#32744 --------- Signed-off-by: github-actions <[email protected]> Co-authored-by: github-actions <[email protected]>
With the release of https://www.npmjs.com/package/cdk-assets/v/2.155.82, this should be fixed now. |
Comments on closed issues and PRs are hard for our team to see. |
Please add your +1 👍 to let us know you have encountered this
Status: RESOLVED
Overview:
CDK pipelines are failing to publish assets created by CDK version 2.174.0 due to a schema version mismatch error.
Complete Error Message:
Error: Canot read asset manifest 'assembly-StackName-StageName/xxxxxxxx.assets.json': Cloud assembly schema version mismatch: Maximum schema version supported is 38.x.x, but found 39.0.0
Workaround:
Revert
aws-cdk-lib
to version 2.173.4 or less.Solution:
No action needed. Rerunning the pipeline should now install
[email protected]
(at least), which supports schema version 39 and successfully publish the assets.original post
Describe the bug
I have a CodePipeline built by CDK pipelines
aws-cdk-lib/pipelines
.After upgrading CDK 2.174.0, action FileAsset failed with following error message:
Regression Issue
Last Known Working CDK Version
2.173.2
Expected Behavior
FileAsset action uploads assets for my stage.
Current Behavior
Build log: (some words are masked)
The latest
cdk-assets
seems not to support cloud assembly schema v39.Reproduction Steps
Build a CDK pipeline CodePipeline and deploy it.
Possible Solution
cdk-assets v3.0.0-rc.111 may support v39.
But the install command
npm install -g cdk-assets@latest
is hardcoded hereaws-cdk/packages/aws-cdk-lib/pipelines/lib/codepipeline/codepipeline.ts
Lines 840 to 842 in 86d2853
Additional Information/Context
No response
CDK CLI Version
2.174.0
Framework Version
No response
Node.js Version
CodeBuild default
OS
CodeBuild Linux container
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: