pulumi-azure
pulumi-azure copied to clipboard
Azure FunctionApp Python Dependencies
Hi, I have started using Pulumi in order to deploy a few Python functions zu Azure. I am able to compose a azure.appservice.ArchiveFunctionApp with the archive pointing to my python directory. For very simple functions, which don't require any additional libraries this is working fine but not for functions which require additional libraries which in Python you would normally install using pip and then document in requirements.txt. The Azure function cli (func) provides a "functionapp publish" command which based on the requirements.txt file in the project folder will do a (remote or local) build and add the required libraries. Can one somehow mimic this with a Pulumi deployment ? Link for reference: https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-python#publishing-to-azure
Thanks Philipp
Related: https://github.com/pulumi/pulumi/issues/1064