pulumi / examples

Infrastructure, containers, and serverless apps to AWS, Azure, GCP, and Kubernetes... all deployed with Pulumi
https://www.pulumi.com
Apache License 2.0
2.36k stars 877 forks source link

Python AWS Lambda examples should include dependencies for packaging #1421

Open jkodroff opened 1 year ago

jkodroff commented 1 year ago

Hello!

Issue details

One of the biggest pain points for anyone using serverless as a compute platform is how to package dependencies. None of the serverless examples include dependencies that have to be installed with a package manager. Providing an example of packaging dependencies is especially important for languages like Python, where vendoring dependencies is not a native part of the tooling and requires cloud provider-specific solutions.

All of our serverless examples should include an example of a vendor dependency in alignment with whatever our recommended best practice is.

Lambda in both Python and Java are particularly high-value both because these languages have a great deal of traction with serverless (yes, I know... Java?) on AWS.

Related issue for templates: https://github.com/pulumi/templates/issues/575

Affected area/feature