I am using a lambda function to call another AWS API and wanted to hide the API key. I am using environment variables for the same but I keep running into this runtime error saying module not defined. Already tried and applied the suggestions in forums. Is there something wrong with the way my folders are structured?
package.json has the module dependency mentioned.