-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
📊Tracking: upgrade to Node 20 #27003
Comments
Update around preview of AWS Lambda (Node 20 Support) |
Any progress? Slated completion is less than 2 weeks away. |
There are 2 issues in consideration here.
|
Just to clarify further on previous, Node 20 and 22 are available in CDK but are not the default as not every region yet supports them. e.g. Node 20 and 22 are supported for Lambda https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-lambda/lib/runtime.ts#L113 but not the default https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-lambda/lib/runtime.ts#L119 For custom constructs this PR was just merged to update defaults for custom constructs for a few more regions which now have Node 20 and will be in the next release. #33112 |
Overview (updated 1/30/25)
Node 18, which is currently in its Active LTS phase, is slated to reach its End of Life on 2025-04-30, as indicated on https://nodejs.dev/en/about/releases/.
Our aim is to provide CDK users with sufficient preparation time to update their CDK code to the latest LTS Node version (Node 20) before it becomes unsupported for deployed resources such as Lambda and Custom Resources.
Node 20 and 22 are available in CDK but are not the default for Lambda as not every region yet supports them, however it is available in Commercial, China and Gov Cloud regions. We recommend you use an explicit Node version such as NODEJS_22_X (rather than NODEJS_LATEST). The default NODEJS_LATEST will be updated once all regions support Node 20 (or 22).
For custom constructs the regional defaults for custom constructs in Commercial are now Node 20. The regional defaults for custom constructs in China and Gov Cloud regions have been updated to Node 20 and will be in the next release (expected 2/5/25)
Link to the service’s CDK Construct Library API reference page.
N/A
Maturity: CloudFormation Resources Only
Stable
Implementation
TBD
Issue list
The text was updated successfully, but these errors were encountered: