/AzFuncTerraform

Create azure function with terraform

Primary LanguageHCLMIT LicenseMIT

Azure Function Terraform

Create azure function with terraform. After creating the function, we need to deploy the code inside it.

Code deploy steps:

  • Create a new function app in visual studio.
  • Publish that function app in a folder.
  • Zip that folder with publish.zip name.
  • Run azure cli command to deploy in the azure function app.
    az functionapp deployment source config-zip `
        -g "rg-terraapp1-dev" `
        -n "func-terraapp1-dev" `
        --src "./publish.zip"