claranet / terraform-aws-lambda

Terraform module for AWS Lambda functions
MIT License
157 stars 127 forks source link

Fix/outputs for empty splats #61

Closed rdkls closed 4 years ago

raymondbutcher commented 4 years ago

Hi @rdkls,

Thanks for submitting all of these changes but unfortunately I can't accept so many of them in one pull request.

Thanks again, and I hope you understand that we can't make such big and drastic changes to the module in one pull request.

Also I made this terraform-aws-lambda-builder module which might suit your purposes. It allows you to write a build.sh in which you could pip install and then deletes unnecessary files. It runs the build script inside Lambda and stores the result in S3. I think that covers what you've done here but maybe I missed something.