Commit b071a9f
authored
fix(deploy): bump @aws-cdk/cdk-assets-lib to read schema 54 asset manifests (#1468)
PR #1465 fixed the synth-time reader (@aws-cdk/toolkit-lib 1.16 -> 1.28)
but the asset-publish phase uses a separate package, @aws-cdk/cdk-assets-lib,
that was still pinned to 1.4.2 in the shrinkwrap. 1.4.2's
@aws-cdk/cloud-assembly-schema floor is >=53.8.0 — it cannot read schema 54
asset manifests written by aws-cdk-lib@2.258.0+.
Symptom: e2e (main, 6/6) failed after the rerun of #1465 with
"Cannot read asset manifest 'cdk.out/...assets.json':
Cloud assembly schema version mismatch: Maximum schema version supported
is 53.x.x, but found 54.0.0" on byo-custom-jwt deploy. (Dataset tests passed
because dataset stacks have no file/zip/docker assets.)
Adding @aws-cdk/cdk-assets-lib as a direct dependency at ^1.4.10 forces the
shrinkwrap to resolve the asset-publisher reader to a version whose
cloud-assembly-schema floor is >=54.2.0. toolkit-lib's wide ^1 transitive
range was insufficient to upgrade past 1.4.2 during the previous regen.
Verified locally: end-to-end agentcore deploy of a BYO Strands agent against
aws-cdk-lib@2.258.0 (writes schema 54) now succeeds — synth, asset publish,
CFN deploy all pass.1 parent 259654b commit b071a9f
2 files changed
Lines changed: 44 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
0 commit comments