hi folks, i’m just getting started with Pulumi and...
# aws
m
hi folks, i’m just getting started with Pulumi and am building a typescript Pulumi app deploying Python lambda functions. i was wondering what the best way to deploy a Python lambda with dependencies, i found this post which seems to work but it leaves all the installed dependencies in the repo folder afterwards, ideally it would put them in a build folder of some sort that can be gitignored. (i’m coming from CDK world which does this in the cdk.out folder) https://www.pulumi.com/ai/answers/1zpKhnrkEMaKLFpyAtcuKj/integrating-lambda-with-typescript-and-requirementstxt
I updated the
PythonPackageArchive
code in the post to write to a build folder instead, but just wondering if this is kosher or if there is a better practice for going about it