please forgive me, I am totally new at Lambda and Node.
I am trying to replicate this git to order a pizza using an AWS IoT button.
My current code is:
<
I had the same issue and got it solved by the following the below steps
cd foldername
zip -r foldername.zip *
Say in Javascript file a.js
var func = function(){
}
export.func = func ;
In index.js
var a = require('a.js')
exports.handler(event, context, callback){
a.func
}