AWS Lambda now supports Node.js 12

Can we start using it?


environment = { AWS_LAMBDA_JS_RUNTIME = "nodejs12.x" }

This should work.

If it doesn’t. Set the AWS_LAMBDA_JS_RUNTIME var in your site setting instead of the toml file.

Let me know how it goes :smiley:


Worked, but I had to add some dummy comment into function file to trigger its reupload.
I don’t know a better way…

1 Like

Hi, @web2033, thank you for pointing out that the function’s hash must change to trigger a new deploy and how you achieved this (by adding a comment).