Accenture / serverless-ephemeral

This is a Serverless Framework plugin that helps bundling any stateless zipped library to AWS Lambda.
67 stars 15 forks source link

feat: add local_ld_library_path #14

Closed piercus closed 6 years ago

piercus commented 6 years ago

This PR is a proposal to fix #13 by adding the ability to set local_ld_library_path in ephemeral custom config at library level.

This might not be best design, but LD_LIBRARY_PATH is hardcoded into serverless AWS plugin (see https://github.com/serverless/serverless/blob/4b71faf2128308894646940ce2fb64e826450972/lib/plugins/aws/invokeLocal/index.js#L95), any feedback would be appreciated

alexleonescalera commented 6 years ago

Hello @piercus. Sorry for the late reply, I was off all day yesterday. I'll check on this pull request right away and then analyze your other two feature proposals, which sound really interesting.