v0.88.0
Support `source_zip` as source for Lambda@Edge submodule @zdmytriv (#262)
what
Added support source_zip
option for lambda@edge functions.
why
There are cases when we need to send the archive as a source for Lambda@Edge. For example, include node_modules
for node js projects.
So at the moment, this module supports 3 types of sources for Cloudfront Lambda@Edge:
source
- just a string with source code that is going to be saved to a file and archived by this modulesource_dir
- path to the directory that contains a few files and/or subdirectories that are going to be archived by this modulesource_zip
- path to a single zip file. This is useful when Lambda@Edge has a lot of dependencies for example in the case of NodeJS -node_modules
directory
See examples/complete
for usage examples.
references
- Closes #205