Skip to content

Regarding deploying the stack to AWS #281

Description

@Yatingambhir85

When i do cdk deploy GoudaParameterizationStack, at step 106 of 110 it fails to create the lambda function and throws the error that

Resource handler returned message: "The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We reco
mmend you use the new runtime (nodejs20.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: 3a6e1460-18e3-4530-b
910-1b44477a7d7f)" (RequestToken: 94ec672c-4497-0a97-0603-8884327573e7, HandlerErrorCode: InvalidRequest)

This error is because of a lambda function of QueryRedshiftDatabase being created automatically and is taking the runtime as Node_14_x which is no longer supported by AWS. How to resolve this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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