Skip to content

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

Description

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 ?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions