Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging Python Lambda functions with only the dependencies they need. #569

Open
dnmahendra opened this issue Oct 11, 2017 · 2 comments
Open

Comments

@dnmahendra
Copy link

At the moment when I deploy the functions each one has same package size and all the modules in chalicelib. Is there a possibility now to only package modules specific to a function so that the deployment package size don't get bloated?

@jamesls
Copy link
Member

jamesls commented Oct 12, 2017

Would you propose that chalice automatically tries to figure this out based on scanning your code, or were you imaging some explicit way to tell chalice which files to include per function?

@dnmahendra
Copy link
Author

explicit to tell it should be fine, something of this sort - https://github.com/ubaniabalogun/serverless-package-python-functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants