Posts

Showing posts from February, 2021

Provisioning Azure resources with Terraform - Part 1 - Basics

Image
Intro Terraform is one of the popular Infrastructure as Code (IaC) tools. There are simple yet powerful ideas behind the tool: It uses configuration files to describe infrastructure. The configuration is written in declarative language called HCL (Hashicorp Configuration Language). Thanks to rich Terraform Registry it supports dozens of providers - this obviously includes Azure along with GCP and AWS. In order to create resources in proper order it creates dependency graph between them. When deploying infrastructure changes it is saving state of the infrastructure. With this approach in case of change in infrastructure it is able to use the state to calculate which resources have changed and update only those. This article starts short series which will lead you through basics of provisioning Azure resources with Terraform by building infrastructure for running serverless application with Azure Functions. As a prerequisite you will need to execute following steps: Download Terraform. ...