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
- Further optimizing the use of
@aws-sdk/client-* packages.
- Switching back to v2
- 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.
Is your feature request related to a problem? Please describe.
The problem we are encountering:
esbuildissue Useless repeated imports when using external modules evanw/esbuild#475 )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
@aws-sdk/client-*packages.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.