You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Slow installation times during deployments, especially with large dependency trees
Inconsistent package resolution across different environments
High memory usage during package installation
Longer cold starts due to suboptimal dependency handling
Describe the solution you'd like.
Add support for using UV (https://github.com/astral-sh/uv) as an alternative Python package installer in the Lambda module. UV is a new, extremely fast package installer written in Rust that offers:
Up to 10-30x faster package installation compared to pip
Reliable dependency resolution
Lower memory usage
Deterministic builds
Full pip compatibility
The module could support UV through:
A new option in the module configuration to specify UV as the package installer - similar to poetry
Integration with UV's lockfile support for reproducible builds
Documentation on how to use UV with the module
Describe alternatives you've considered.
Using custom Docker builds to pre-install dependencies with UV
Creating a separate Lambda layer with UV-installed dependencies
However, native module support would provide a much better developer experience and ensure consistent behavior across teams.
Additional context
UV has gained significant adoption in the Python community due to its performance benefits. Companies like Datadog have reported significant improvements in their Python dependency management after switching to UV. Supporting UV in the Terraform AWS Lambda module would align with the community's move toward more efficient Python tooling and improve the developer experience for teams building Lambda functions.
The text was updated successfully, but these errors were encountered:
Is your request related to a new offering from AWS?
No 🛑 , this is related to using an alternative Python package installer (UV) that would improve the efficiency and reliability of Lambda deployments.
Is your request related to a problem? Please describe.
The current process of installing Python dependencies for AWS Lambda functions using pip can be slow and sometimes unreliable. Common issues include:
Describe the solution you'd like.
Add support for using UV (https://github.com/astral-sh/uv) as an alternative Python package installer in the Lambda module. UV is a new, extremely fast package installer written in Rust that offers:
The module could support UV through:
Describe alternatives you've considered.
However, native module support would provide a much better developer experience and ensure consistent behavior across teams.
Additional context
UV has gained significant adoption in the Python community due to its performance benefits. Companies like Datadog have reported significant improvements in their Python dependency management after switching to UV. Supporting UV in the Terraform AWS Lambda module would align with the community's move toward more efficient Python tooling and improve the developer experience for teams building Lambda functions.
The text was updated successfully, but these errors were encountered: