aws-samples / aws-cdk-examples

Example projects using the AWS CDK
Apache License 2.0
4.95k stars 2.1k forks source link

chore: update Lambda Node.js to 20.x #1046

Open trivikr opened 1 month ago

trivikr commented 1 month ago

Noticed in: https://github.com/aws-samples/aws-cdk-examples/issues/961

Node.js 20.x is the latest version of Lambda https://aws.amazon.com/blogs/compute/node-js-20-x-runtime-now-available-in-aws-lambda/


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

kaiz-io commented 1 month ago

The tests failed make sure that you can run yarn run test or npm run --if-present test and that cdk synth works.

trivikr commented 1 month ago

I'm not sure why the tests are failing. The yarn synth works locally for typescript/api-gateway-parallel-step-functions

Feel free to take over the PR, or close it. The original goal for upgrading to Lambda Node.js 18.x is achieved, and this PR was just an additional update.