apac-ml-tfc / textract-demo

Enhancing Amazon Textract with pre- and post-processing
20 stars 69 forks source link

nodejs 10.x no longer supported #10

Open ttirtawi opened 2 years ago

ttirtawi commented 2 years ago

When try to deploy Ampify backend, it throw the error related to Lambda runtime deprecated

The runtime parameter of nodejs10.x is no longer supported for creating or updating AWS Lambda functions

Which section should be modify to support latest nodejs version?

devolutco commented 1 year ago

In amplify/backend/auth/cognito/cognito-cloudformation-template.yml line 259 you can put:

Runtime: nodejs16.x