Fundamentals of Terraform on Azure

At a glance

Terraform enables you to deploy Azure resources. Terraform uses a declarative syntax that you treat like application code. Treating your infrastructure as code enables you to track changes to your infrastructure requirements and makes your deployments more consistent and repeatable.

Terraform provides a concise syntax and type safety for your Azure infrastructure declarations.

Take this learning path to get started with Terraform. In it, you'll:

  • Decide whether Terraform is the right choice for your deployments to Azure.
  • Understand Terraform's declarative syntax and the structure of a Terraform module.
  • Apply Terraform features such as variables, outputs, functions, and loops to control how your infrastructure is deployed.
  • Define modules that break down complex deployments into smaller reusable components.

Each module in this learning path provides examples for use with the Azure CLI. Visual Studio Code is used to write and validate your Terraform code.

Prerequisites

Familiarity with Azure Resources and Azure resource groups is recommended, but not required.

Get started with Azure

Choose the Azure account that's right for you. Pay as you go or try Azure free for up to 30 days. Sign up.

Modules in this learning path

Infrastructure as code can help you quickly and confidently scale your cloud deployments. By using Terraform, you can automate and simplify the provisioning of infrastructure resources.