We update our Node.js function to do a bit more, which requires pulling in an NPM package, thus creating a node_modules directory that the program needs to run.
In this case, our Lambda function calls the S3 API to list out files within an S3 bucket.
This is from the Serverless with Lambda course here: https://cloudcasts.io/course/understa...
You can learn more about AWS and purchase premium courses over at https://cloudcasts.io