You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
1.0.2 does not include symlinks in service zip file #2472
My workers are Python so I usually need to build a "vendor" directory within my Serverless project so the libraries can be imported at runtime. This has worked very well in v1.0.0-rc.2.
My approach has been to use multiple vendored directories so they can be included or not in a reusable way across projects. My current project has 3 such directories, one of which is a normal directory, and the other two of which are either symlinked entirely (whole directory points elsewhere) or have contain individual libraries that are symlinked in.
Deploying in v1.0.2, the normal directory is now included in the deployment zip file, but the two variations of symlinked directories are not. Vendoring in this way is critical since Lambda does not provide every needed library module. Inconvenient to have ti copy & synch many files.
Is there a reason symlinked directories should be excluded -- was it intentional?
Activity
pmuens commentedon Oct 19, 2016
@chris-hailstorm thanks for reporting! You're right. There's already a PR which brings back including of files and adds symlink support as well: #2266
5inline commentedon Oct 25, 2016
@pmuens This doesn't seem to be included in the recent 1.0.3 release. Is it planned for an upcoming release?
pmuens commentedon Oct 31, 2016
This is now available thanks to @jonsharratt and his PR #2266 👍 🎉