Latest version of NodeJS runtime available in Lambda Functions is
14, this version was released more than 2 years ago and is in
Maintenance LTS status since October 2021, it also reaches end of life in 11 months.
Luckily, AWS Lambda dev team experiments with a release approach and rolls out a new runtime NodeJS 16 beforehand (yay!), that means we can go and have a sneak peek on a new LTS version right now with a little help of Pulumi, while an official GA is on the way. Hehe.
As you can see this Lambda is quite modest and exposes only one environment variable
AWS_EXECUTION_ENV – just enough to demonstrate which Runtime is being used :)
@jtuliani: There are multiple parts to a runtime launch. There's the managed runtime itself, the container base image, plus support in the console, SAM CLI, AWS CLI, CloudFormation, various AWS SDKs, etc.
PS. So while we are happy and wait for official GA, errors like this will tag us along: