Open heringmartin opened 3 years ago
Hey Martin,
I believe you need to zip the function app folder, that is host.json
and sub-folders with function.json
and your code.
Ex. https://github.com/maximivanov/publish-az-func-code-with-terraform/tree/main/function-app
Hi, Thanks for the code. The deployment was successful, but the functions were not visible in the function app. In addition, command to deploy web app will also be deprecated soon.
Hi Max , thanks for providing your source code to create and publish an azure function with terraform. I used your azure cli approch to publish the function app up the azure portal. I used:
For some reason either of those command does not publish my code, even though i get a 202 reponse from the output logs. My function.zip contains the powershell code as well as a function.json where my time trigger is configured. Am I missing something here ? Thanks in advance.
Regrads Martin