loading...

re: Getting Started with AWS Lambda and Node.js VIEW POST

FULL DISCUSSION
 

Great Adnan...Clear Explanation on what to do with AWS Lamdba...one question , is that possible to stop the api gateway which we created for roll-a-dice temporarily, if so how could I do it?....

Do we need to include the node_modules folder when we upload the zip to lambda?

 

You can't "stop" the API Gateway entirely, but you can add an API Key to rate-limit the endpoint.

Yes, you need to include the node_modules. I tend to write Lambda code locally and use the Serverless Framework to deploy the code and resources. Check out this article I wrote to learn how.

Code of Conduct Report abuse