Skip to content

Publish every release as a Lambda layer #3028

Description

@moltar

Is your feature request related to a problem? Please describe.

The problem we are encountering:

Which leads to:

  • Slow builds
  • Slow deployments
  • Slow cold starts

Describe the solution you'd like

Publish every release as a predictable Lambda layer.

This would allow us to exclude @aws-sdk/* packages from the bundle, yet target specific and exact package versions via the layer.

A great example of this use case is done by Sentry. They package their Lambda handler as a layer, in every region, and tagged with a version. Then they make the manifest published.

Describe alternatives you've considered

  1. Further optimizing the use of @aws-sdk/client-* packages.
  2. Switching back to v2
  3. Not using SDKs at all

Additional context

🌱 We can help save the planet and make the solution greener by reducing the need to bundle and ship useless bits across the continents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestNew feature or enhancement. May require GitHub community feedback.needs-discussionp2This is a standard priority issue

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions