Include files in the package root
Closed this issue · 1 comments
olconstant commented
Cannot include files in the package root (i.e. LAMBDA_TASK_ROOT/lib).
The LD_LIBRARY_PATH environment variable is used to store helper libraries and function code.
The LD_LIBRARY_PATH environment variable contains /lib64, /usr/lib64, LAMBDA_TASK_ROOT, LAMBDA_TASK_ROOT/lib.
https://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html
olconstant commented
Succeed to add files in package root by adding to serverless.yml
the following code:
package:
individually: true
include:
- lib/**