awscdk-asset-kubectl icon indicating copy to clipboard operation
awscdk-asset-kubectl copied to clipboard

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

Open amitkapadnisamit opened this issue 11 months ago • 0 comments

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 ?

amitkapadnisamit avatar Feb 26 '24 14:02 amitkapadnisamit