Create the enviroment variable into lambda into the console or some script.
//TODO create a sample here of scripting that
Call it into the code using the variable process.env.variablename. It will be like the below code, for a myvar name.
let localvariable = process.env.myvar;