Uniswap / uniswapx-parameterization-api

GNU General Public License v3.0
39 stars 15 forks source link

Regarding deploying the stack to AWS #281

Open Yatingambhir85 opened 6 months ago

Yatingambhir85 commented 6 months ago

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 commented 2 months ago

I also encountered this problem