Terraform with Azure

Want to read this story later? Save it in Journal.

Why terraform?

Terraform State

Terraform Phases

Terraform with Azure

provider "azurerm" {}

It is recommended to use either a Service Principal or Managed Service Identity when running Terraform in a CI/CD server and authenticating using the Azure CLI when running Terraform locally.

main.tf — create a resource group
main.tf — deploy database
main.tf — deploy app service

You can use the command terraform destroy to remove all the resources deployed from you terraform config at once.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store