Skip to content

chore(deps): upgrade aws-cdk-lib + cdk-nag + constructs (lockstep)#10

Merged
sanjayshukla98 merged 1 commit into
mainfrom
deps/aws-cdk-cdk-nag-lockstep
Jun 29, 2026
Merged

chore(deps): upgrade aws-cdk-lib + cdk-nag + constructs (lockstep)#10
sanjayshukla98 merged 1 commit into
mainfrom
deps/aws-cdk-cdk-nag-lockstep

Conversation

@sanjayshukla98

Copy link
Copy Markdown
Contributor

Supersedes #5 (which bumped aws-cdk-lib without cdk-nag and broke typecheck).

Changes

package from to
aws-cdk-lib ^2.202.0 ^2.260.0
cdk-nag ^2.37.x ^2.38.2
constructs ^10.4.5 ^10.5.1
aws-cdk (CLI) 2.1030.0 2.1128.1

Stayed on cdk-nag v2 on purpose — v3 replaces the IAspect engine with a policy-validation plugin, which would require rewriting the gate wiring and the compliance-test assertions. That's a separate migration.

Verification

  • typecheck / biome / build ✅
  • compliance gate ✅ (0 AwsSolutions findings, synth exits 0)
  • snapshots re-baselined for benign upstream drift: VPC flow-log role dropped an unnecessary iam:PassRole; custom-resource handlers nodejs22.x → nodejs24.x

Closes #5

🤖 Generated with Claude Code

Supersedes the failing aws-cdk group bump (#5). Bumping aws-cdk-lib without
cdk-nag made the installed cdk-nag type-incompatible; upgrade them together:

- aws-cdk-lib  ^2.202.0 -> ^2.260.0
- cdk-nag      ^2.37.x  -> ^2.38.2  (last v2; keeps the IAspect gate model)
- constructs   ^10.4.5  -> ^10.5.1  (required by cdk-nag 2.38.2)
- aws-cdk CLI  2.1030.0 -> 2.1128.1

Stayed on cdk-nag v2 deliberately: v3 rewrites the engine from IAspect to a
policy-validation plugin, which would rewrite the gate wiring and the test
assertions — a separate, larger migration.

Compliance gate still green (0 AwsSolutions findings). Snapshots re-baselined
for benign upstream drift: the VPC flow-log role dropped an unnecessary
iam:PassRole, and CDK custom-resource handlers moved nodejs22.x -> nodejs24.x.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sanjayshukla98 sanjayshukla98 merged commit 2d42778 into main Jun 29, 2026
1 check passed
@sanjayshukla98 sanjayshukla98 deleted the deps/aws-cdk-cdk-nag-lockstep branch June 29, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant