moznion/aws-lambda-perl5-layer

Not an issue. Add any perl file to lambda folder.

Closed this issue · 1 comments

I'd like to ask how can we add any perl file to lambda folder?

You only have to include perl file(s) into your function's zip file.
Maybe moznion/aws-lambda-perl5-layer-example helps you; please refer to the following files:

  • plack/build.sh
    • this script packs function components (i.e. all of the files that are under the directory) as a zip file
  • plack/Makefile
    • this Makefile kicks a build.sh