/example-azure-functions

Create an Azure Functions example with Terraform and deploy via Azure DevOps

Primary LanguageHCL

Example Azure Functions

- Deploy Azure Function via Azure DevOps

Requisites

  • Create an account in Azure DevOps
  • Create Parallel Jobs for building and deployment app (Microsoft-Hosted)
  • Link GitHub repo with Azure DevOps (GitHub Connections)
  • Create a Service Connection between Azure DevOps and Azure Portal for Deployment Service Connection

Create an Azure Function example and deploy with package zip via Azure DevOps

  • Create manual Azure Functions in Azure Portal
  • Deploy package zip via Azure DevOps

Check Azure Function in Azure Portal

  • Run Pipeline

Run Pipeline

  • Home Page with Environment setting (AzureWebJobsDisableHomepage=false) Home Page Azure Function

  • Show Azure Functions

Azure Function

Test Azure Function

Http Trigger Azure Function

Create Azure Functions and setup infrastructure with Terraform via Azure DevOps

  • Create manual ResourceGroup
  • Create manual Storage Account Name & Container Name
    • Save terraform state file
  • Run azure-deployment-with-terraform.yml
    • Setup Infrastructure Azure Function with Terraform
    • Deploy package zip

Check in Azure Portal

  • Azure Deployment with Terraform Azure Pipeline With Terraform

  • Store terraform file Terraform State File

  • Azure Function Overview Overview

  • Test Azure Function

Http Trigger Azure Function