You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
NODEJS_14_X is deprecated and causes an error on cdk deploy. This version is no longer supported by AWS, therefore the version should be upgraded to at least NODEJS_16.
Expected Behavior
Successful cdk deploy
Current Behavior
"The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs20.x) while creating or updating functions.
Reproduction Steps
line 24 of hitcounter.ts runtime: lambda.Runtime.NODEJS_14_X,
When running cdk deploy the error for unsupported runtime in AWS Lambda functions is received.
@GryphonInfoSec Thanks for reporting the issue. I do recognize that Node 14.x is deprecated and we should fix the code example to change it to Node 16.x (at least). Thanks for the PR. Could you update your you PR to make similar change for Japanese version here.
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
NODEJS_14_X is deprecated and causes an error on cdk deploy. This version is no longer supported by AWS, therefore the version should be upgraded to at least NODEJS_16.
Expected Behavior
Successful cdk deploy
Current Behavior
"The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs20.x) while creating or updating functions.
Reproduction Steps
line 24 of hitcounter.ts runtime: lambda.Runtime.NODEJS_14_X,
When running cdk deploy the error for unsupported runtime in AWS Lambda functions is received.
Possible Solution
Replace:
runtime: lambda.Runtime.NODEJS_14_X,
with:
runtime: lambda.Runtime.NODEJS_16_X,
Additional Information/Context
No response
CDK CLI Version
No response
Section
No response
Browser
No response
Language
No response
The text was updated successfully, but these errors were encountered: