diff --git a/scripts/synth.sh b/scripts/synth.sh index e5c61a428e..2989aa2f39 100755 --- a/scripts/synth.sh +++ b/scripts/synth.sh @@ -12,7 +12,8 @@ if $fake_context; then cp $scriptdir/fake.context.json cdk.context.json fi -npx cdk synth +yarn global add cdk@latest +cdk synth if $fake_context; then rm -f cdk.context.json diff --git a/typescript/codepipeline-build-deploy/package.json b/typescript/codepipeline-build-deploy/package.json index 740335ebe1..7553b34fc2 100644 --- a/typescript/codepipeline-build-deploy/package.json +++ b/typescript/codepipeline-build-deploy/package.json @@ -20,7 +20,7 @@ "typescript": "~5.1.6" }, "dependencies": { - "aws-cdk-lib": "2.80.0", + "aws-cdk-lib": "2.177.0", "constructs": "^10.0.0", "jest-junit": "^16.0.0", "source-map-support": "^0.5.21"