full-receptionist-3020306/05/2022, 6:46 PM
stocky-restaurant-9800406/06/2022, 5:25 PM
for a Python Lambda. Some ideas: 1. Use something like Make or https://taskfile.dev/ to vendor your deps before running Pulumi. (This is what I did when I did worked with Lambdas in TF.) 2. Try the pulumi-command provider (https://www.pulumi.com/registry/packages/command/) to run your
command. Layers are "eh" in my (non-expert, would defer to someone who has done a ton of Lambda development work) opinion. If you have stable dependencies in multiple Lambdas they can be good and will save time in your development feedback cycle, but if they change often, they can become a headache. I'd suggest not using layers until you're sure that your deps are stable and used in multiple places, and then consider Layers.
full-receptionist-3020306/06/2022, 5:29 PM