Skip to content
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

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 #588

Closed
amitkapadnisamit opened this issue Feb 26, 2024 · 0 comments · Fixed by #623

Comments

@amitkapadnisamit
Copy link

Hello,

We are using aws-cdk.lambda-layer-kubectl-v24 package to install kubectl utility but now when we are creating CloudFormation we are getting error as
"Resource handler returned message: "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. (Service: Lambda, Status Code: 400, Request ID: bc766af5-ce61-4f52-9018-4f2552d49f5f)" (RequestToken: 7d43714a-bf5b-3f13-c689-e282e9658d20, HandlerErrorCode: InvalidRequest)"

Could you help us here ?

@mergify mergify bot closed this as completed in #623 Jun 5, 2024
mergify bot pushed a commit that referenced this issue Jun 5, 2024
…nd remove deprecated python3.7 and nodejs14.x runtimes (#623)

Similar to #546, this PR adds  kubectl 1.29.4 and Helm 3.14.4 security patch 
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.29.md#changelog-since-v1293
https://github.com/helm/helm/releases/tag/v3.14.4

Fixes [#588](#588). 
Fixes [#752](#752). 

Removes the EOL python3.7 runtime in the integ test and upgrade nodejs14.0 to nodejs16.0 used in custom resource provider by upgrading aws-cdk-lib from 2.28.0 to 2.85.0 in the current branch, which addresses the usage of node 14 [#25995](aws/aws-cdk#25995)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant