awscdk-asset-kubectl
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
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 ?