I want to add more functionalities to the code to test different things. However, If I unzip the file and zip it, upload it to S3 bucket and put it through Lambda, it doesn't work. This was done without changing any files or even opening any files in the unzipped folder.
So I'm wondering how you guys packaged it. Let me know how I can edit the code.
Make sure you zip the contents of the directory and not the directory. i.e. select lib, node_modules and index.js right click and zip (on windows) and then upload that zip file.
Hi there,
I want to add more functionalities to the code to test different things. However, If I unzip the file and zip it, upload it to S3 bucket and put it through Lambda, it doesn't work. This was done without changing any files or even opening any files in the unzipped folder.
So I'm wondering how you guys packaged it. Let me know how I can edit the code.