aws-samples / aws-samples/amazon-textract-pdf-text-extractor

error with nodejs while trying to deploy

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hi!
I wanted to use your library, but when I am running cdk deploy I am getting this error:
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: 0821cacf-5e68-47e5-917b-c23a88d73e4e)" (RequestToken: b77038e4-d
c6d-3832-e9a0-5d0511402b04, HandlerErrorCode: InvalidRequest)

Could you help me with that? I have the newest version of node installed.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with cdk deploy and inspect the CDK/Lambda configuration that selects nodejs12.x. Done means the deployment succeeds using a supported Lambda runtime such as nodejs18.x.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, nodejs
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.