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?
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?