Visitar URL original
Deploy bundles boto3 and botocore packages to deploy into lambda · Issue #249 · nficano/python-lambda · GitHub
Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.
This repository was archived by the owner on Mar 15, 2026. It is now read-only.

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

Description

@Veilkrand

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

Activity

  1. changed the title [-]`deploy` bundles `boto3` and `botocore` to deploy into lambda[/-] [+]Deploy bundles boto3 and botocore packages to deploy into lambda[/+] on Oct 6, 2019
  2. imendi commented on May 26, 2021

    @imendi

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

  3. reubenson commented on Dec 1, 2023

    @reubenson

    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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions