aws / aws-sdk-js-v3

Modularized AWS SDK for JavaScript.
Apache License 2.0
3.12k stars 578 forks source link

Publish every release as a Lambda layer #3028

Open moltar opened 2 years ago

moltar commented 2 years ago

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

The problem we are encountering:

Which leads to:

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.

github-actions[bot] commented 1 year ago

Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.

moltar commented 1 year ago

Not stale.

GitHub stale bot considered harmful