Tim-B / grunt-aws-lambda

A grunt plugin to assist in developing functions for AWS Lambda.
MIT License
247 stars 100 forks source link

Include config/ in deploy #37

Closed objectiveSee closed 8 years ago

objectiveSee commented 8 years ago

Hey there! I just switched to using the config module which places private env variables in config/default.json. I noticed that the config file and directory is not being included with the .zip file that is uploaded to Lambda. Can someone recommend the right way to ensure that this directory is included? I am guessing it may have to do with .npmignore

objectiveSee commented 8 years ago

This was also fixed by using .npmignore. Apparently the config was not included if there was no ignore file! :confetti_ball: