Closed adstro closed 1 year ago
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
I am unable to deploy the
typescript/cognito-api-lambda
example because it uses a deprecated version of the NodeJS runtime for it's Lambda.Expected Behavior
cdk deploy
should succeed.Current Behavior
cdk deploy
fails with the following error:Resource handler returned message: "The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs18.x) while creating or updating functions. (Service: Lambda, Status Code: 400
Reproduction Steps
Follow the instructions in
typescript/cognito-api-lambda/README.md
to build and deploy.Possible Solution
Upgrade NodeJS runtime that is used for the Lambda
Additional Information/Context
No response
CDK CLI Version
2.87.0
Framework Version
No response
Node.js Version
v18.16.1
OS
MacOS
Language
Typescript
Language Version
No response