aws-samples / amazon-chime-media-capture-pipeline-demo

Apache License 2.0
47 stars 19 forks source link

fix: Update cognito.ts file with Node js 16x #137

Closed sushpatg closed 3 months ago

sushpatg commented 3 months ago

Fixes #

Updating the nodeJs runtime as deployment is failing

| CREATE_FAILED | AWS::Lambda::Function | CognitodomainValidatorC88C5F F9 Resource handler returned message: "The runtime parameter of nodejs14.x is no longer supported for creating or upda ting AWS Lambda functions. We recommend you use the new runtime (nodejs20.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: xxxx)" (RequestToken: xxxx, HandlerErrorCode: InvalidRequest)