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.

Bundling too many artifacts #183

Description

@opobla

Hi!
When doing lambda deploy too many artifacts get bundled:

Bundling: 'README.md'
Bundling: 'service.py'
Bundling: 'requirements.txt'
Bundling: 'event.json'
Bundling: '.gitignore'

Is there a way to exclude/include explicitly what should be bundled?
Regards

Activity

  1. marcelorcorrea commented on Aug 21, 2019

    @marcelorcorrea

    It does't answer your question completely, but if you need to include some source folder, you can add it in your config.yaml in build > source_directories separated by comma.

  2. opobla commented on Aug 22, 2019

    @opobla
    Author

    I have tried to put the source code in a lib folder y include it in the config.yaml, but the result is that invoke no longer works and build bundles everything in the root folder and also the contents of the lib folder.

    I think that the idea should be to add support for a sort of .lambdaignore mechanism to avoid bundling artifacts that do not belong to the execution environment of the lambda function.

  3. unrealsolver commented on Aug 29, 2019

    @unrealsolver

    @opobla, indeed there are no possibility to this. According to the source code, the tool packs whatever content of the directories. I going to came up with PR addressing this issue sooner or later.

  4. Alan-Penkar-QB commented on Sep 9, 2019

    @Alan-Penkar-QB

    I would benefit from this functionality as well

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