aws-cdk-examples icon indicating copy to clipboard operation
aws-cdk-examples copied to clipboard

Update Lambda examples to use NODEJS_18_X

Open trivikr opened this issue 7 months ago • 0 comments

Describe the feature

Update Lambda examples to use NODEJS_18_X

Use Case

There are multiple examples on Lambda Node.js 10.x and 12.x which are no longer supported by Lambda:

  • 10.x https://github.com/search?q=repo%3Aaws-samples%2Faws-cdk-examples%20NODEJS_10_X&type=code
  • 12.x https://github.com/search?q=repo%3Aaws-samples%2Faws-cdk-examples%20NODEJS_12_X&type=code

And per official documentation, Node.js 14.x and 16.x will be following deprecation phase 1 on Nov 27, 2023 and Jun 12, 2024 respectively. These are also used in CDK examples:

  • 14.x https://github.com/search?q=repo%3Aaws-samples%2Faws-cdk-examples%20NODEJS_14_X&type=code
  • 16.x https://github.com/search?q=repo%3Aaws-samples%2Faws-cdk-examples%20NODEJS_16_X&type=code

Proposed Solution

Upgrade all examples to use NODEJS_18_X

Announcement blog post https://aws.amazon.com/blogs/compute/node-js-18-x-runtime-now-available-in-aws-lambda/

Other Information

No response

Acknowledgements

  • [ ] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

Language

Typescript

trivikr avatar Nov 08 '23 00:11 trivikr