Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding deploying the stack to AWS #281

Open
Yatingambhir85 opened this issue Mar 7, 2024 · 1 comment
Open

Regarding deploying the stack to AWS #281

Yatingambhir85 opened this issue Mar 7, 2024 · 1 comment

Comments

@Yatingambhir85
Copy link

Yatingambhir85 commented Mar 7, 2024

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?

@levi0522
Copy link

levi0522 commented Jul 5, 2024

I also encountered this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants