aws-samples / aws-samples/amazon-cognito-abac-authorization-with-react-example
CDK deploy fails due to the end of support of lambda nodejs12
- Dominant language
- TypeScript
- Stars
- 41
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
CDK deploy fails with the following message dur to the end of support of lambda nodejs12
`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, Request ID: xxx)" (RequestToken: xxx, HandlerErrorCode: InvalidRequest)
`
Contributor guide
Research direction
Search the CDK project for the nodejs12.x runtime referenced by the AWS Lambda deployment error. Run CDK deploy to reproduce the failure, update the runtime to nodejs18.x, and confirm that deployment completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, react, typescript
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100