question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[CloudFormation Deployment Failure] Nodejs10.x is no longer supported in AWS Lambda

See original GitHub issue

Describe the bug

End of support of node.js 10x on AWS Lambda has been reached on July 30, 2021. So installing the stack referred to here: https://docs.aws.amazon.com/solutions/latest/document-understanding-solution/automated-deployment.html fails with the following error

Resource handler returned message: "The runtime parameter of nodejs10.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs14.x) while creating or updating functions. 

To Reproduce Attempt to Install the stack.

Expected behavior Installation completes correctly.

Please complete the following information about the solution:

  • Version: [v1.0.2]
  • Region: [eu-west-1]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
ShivaniMehendargecommented, Nov 15, 2021

The new version (v1.0.3) is now released.

1reaction
mohamed-alicommented, Nov 8, 2021

Thanks for reviewing the issue. It seems the switch to node12 was done in CDK 1.18.0 https://github.com/aws/aws-cdk/releases/tag/v1.18.0. I’ll try that out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot deployment issues in Lambda
When you update your function, Lambda deploys the change by launching new instances of the function with the updated code or settings. Deployment...
Read more >
CloudFormation: The runtime parameter of nodejs6.10 is no ...
10. I have updated the runtime for all functions to node10.x, but when I deploy the template, I get the following message: The ......
Read more >
runtime parameter of nodejs8.10 is no longer supported #3149
I fixed this by going into ~/.npm/lib/node_modules/@aws-amplify/cli and running node scripts/post-install.js myself. Is that the intended ...
Read more >
Deploy a Node.js function to AWS Lambda using ... - Egghead.io
The current config will fail. Ensure to use the latest node runtime nodejs10.x or nodejs12.x .
Read more >
Upgrading to Serverless Framework v3
Additionally, the nodejs10.x , python2.7 , ruby2.5 and dotnetcore2.1 runtimes are no longer supported and accepted by AWS Lambda.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found