Skip to content

build(cli): Added extra files and folders to ignore for packaging pyt…#14824

Open
Vinod0511 wants to merge 1 commit intoaws-amplify:devfrom
Vinod0511:dev
Open

build(cli): Added extra files and folders to ignore for packaging pyt…#14824
Vinod0511 wants to merge 1 commit intoaws-amplify:devfrom
Vinod0511:dev

Conversation

@Vinod0511
Copy link
Copy Markdown

…hon lambdas in Gen 1 backend

Description of changes

The pip and pip-<version-num>.dist-info folders are bundled in AWS Lambda python runtime. Adding these to ignoreFiles list to remove from bundle

Issue #, if available

Description of how you validated changes

Checklist

  • PR description included
  • yarn test passes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Vinod0511 Vinod0511 requested a review from a team as a code owner April 27, 2026 09:20
@Vinod0511
Copy link
Copy Markdown
Author

Hi Team,

This PR is to remove extra files bundled as part of AWS Lambda python runtime, which increases the bundle size of packaged lambda. An empty lambda is about 2 MB. Greatly appreciate if it can be included as part of the next release

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant