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

Deploy bundles boto3 and botocore packages to deploy into lambda #249

Open
Veilkrand opened this issue Oct 6, 2019 · 2 comments
Open

Deploy bundles boto3 and botocore packages to deploy into lambda #249

Veilkrand opened this issue Oct 6, 2019 · 2 comments

Comments

@Veilkrand
Copy link

boto3 or botocore packages shouldn't be bundled and deployed to lambda as they are already available in the lambda function environment.

@Veilkrand Veilkrand changed the title deploy bundles boto3 and botocore to deploy into lambda Deploy bundles boto3 and botocore packages to deploy into lambda Oct 6, 2019
@imendi
Copy link

imendi commented May 26, 2021

This is making my bundle too big and can't deploy. Any workaround ?

@reubenson
Copy link

Not sure if there's a more standard solution to this, but I've worked around this by defining a requirements.txt file that contains the single package I actually need (e.g. websockets>=12.0), and pass this into the deploy command with the --requirements flag

lambda deploy --requirements ./requirements.txt

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

4 participants