How to change nodejs runtime version in AWS?

April 1, 2020 at 04:21:05
Specs: N/A, N/A
I'm actually not a web developer and following tutorial written by someone in order to create Google Assistant Skill for Alexa using AWS

At the step to create a stack it failed with the following error:

The runtime parameter of nodejs6.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 9623824b-f2d8-4880-837c-463782d4eac4)

Could someone explain how to change nodejs runtime?

If possible I'd prefer to do it by changing some setting rather than coding because I'm not familiar with web services.


See More: How to change nodejs runtime version in AWS?

Reply ↓  Report •

#1
April 1, 2020 at 05:15:59
AWS no longer supports Norris runtimes earlier than 12. You have t record your functions to the new version.

Try to find a more up-to-date tutorial.


Reply ↓  Report •

#2
April 1, 2020 at 05:37:11
That’s right.
The problem is that I don’t know how to force AWS to create a function to use another version of nodejs runtime.
I assume it should be configurable parameter but I can’t locate it
Thanks

Reply ↓  Report •
Related Solutions


Ask Question