[CloudFormation Deployment Failure] Nodejs10.x is no longer supported in AWS Lambda
See original GitHub issueDescribe 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:
- Created 2 years ago
- Comments:8 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The new version (v1.0.3) is now released.
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.