Adrián Mouly
11/17/2021, 3:59 AMgligor
11/17/2021, 4:03 AMAdrián Mouly
11/17/2021, 4:07 AMSione
11/17/2021, 5:46 AMPipfile
. One gotcha with defining the SST infra for python functions, the srcPath
needed to be the dir where the file for python deps is in (my case Pipfile
) not the root dir. That's important for how SST bundle and install python deps. More details here: https://docs.serverless-stack.com/constructs/Function#bundle . This setup works great for us so far, but I imagine if we have to add more business processes that needed to be written in python, we might have to figure out how to better share common packages/libs between them across multiple dirs. Hope that makes sense.