Skip to content

ci: bump pinned aws-cdk CLI to 2.1148.1 in Secret Boundary workflow - #119

Merged
Robobc merged 1 commit into
mainfrom
factory/ci-fix/42824695223
Nov 17, 2026
Merged

Robobc merged 1 commit into
mainfrom
factory/ci-fix/42824695223

Conversation

@robobc-software-factory

Copy link
Copy Markdown

Cause

The Dependabot pip bump upgraded aws-cdk-lib. The new version emits cloud assembly schema 55.0.0.

The Secret Boundary workflow pins the CDK CLI to aws-cdk@2.1135.1, which only reads schema 54.x.x. As a result, cdk synth fails:

Cloud assembly schema version mismatch: Maximum schema version supported is 54.x.x, but found 55.0.0. You need at least CLI version 2.1148.0 to read this manifest.

The Gitleaks install, canary and history-scan steps pass and are not affected.

Fix

Bump the pinned CLI in .github/workflows/secret-boundary.yml to aws-cdk@2.1148.1. This is the latest published release and meets the 2.1148.0 minimum. No other changes.

Local check by the factory (passed)

$ cdk@2.1148.1 synth -> exit 0
[WARNING] aws-cdk-lib.Stack#addDependency is deprecated, and will be removed in the next major release.
  Use `addStackDependency` instead.
/tmp/tmpmzises8t/lib/program.js:1:5594
WARNING No cross-stack-reference strength configured, defaulting to "strong". We recommend you set feature flag "@aws-cdk/core:defaultCrossStackReferences" to "both", then deploy everywhere, then set it to "weak". Alternatively, set it to "strong" explicitly to lock in the current producer-protecting behavior. (See: https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/README.md#reference-strength) (Construct Annotations)
   agentcore-workshop-dev-identity
   Acknowledge with 'Annotation::@aws-cdk/core:crossStackReferencesDefaultStrong'
Successfully synthesized to /tmp/factory/42824695223/cdk.out.42824695223
Supply a stack id (agentcore-workshop-dev-auth, agentcore-workshop-dev-identity, agentcore-workshop-dev-memory, agentcore-workshop-dev-gateway, agentcore-workshop-dev-runtime-orchestrator, agentcore-workshop-dev-runtime-code-agent, agentcore-workshop-dev-runtime-research-agent, agentcore-workshop-dev-observability) to display its template.
81 feature flags are not configured. Run 'cdk flags --unstable=flags' to learn more.

$ pytest tests/test_auth_hardening.py tests/test_dashboard.py tests/test_m2m_secret_boundary.py tests/test_scripts_token.py -> exit 0
...........................................................              [100%]
59 passed in 4.87s

@github-actions github-actions Bot added github_actions Pull requests that update GitHub Actions code security labels Nov 17, 2026
@github-actions

Copy link
Copy Markdown

Commit: 1bed401 | Updated: 2026-11-17 09:42:32 UTC

Security Scan Results

@Robobc
Robobc merged commit 64ebaa4 into main Nov 17, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant