aws-samples / aws-samples/amazon-cognito-abac-authorization-with-react-example

CDK deploy fails due to the end of support of lambda nodejs12

Open
#18 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.