Terraform is an infrastructure automation tool that allows companies to manage infrastructure through code. This provides many benefits such as greater recovery, predictability, and speed. Infrastructure as code is quickly becoming a standard for managing cloud resources and is widely practiced among the top high performing companies. One of the major benefits of using Terraform over other infrastructure as code tools is that its platform agnostic. Terraform can be used to manage any major Cloud Service Provider as well as on-prem environments using vSphere and Cisco. Teams can use the same adopted skillset and workflows to manage other environments instead of reinventing the wheel for managing each environment. Terraform is also simple to learn in a matter of a few days and can be quickly adopted as a way to manage infrastructure among teams.
In this lab, you will create a Terraform configuration to deploy a Virtual Network in Azure.
Learning Objectives
Upon completion of this lab you will be able to:
- Understand what a Terraform provider is
- Use Terraform init, plan, and apply commands to build infrastructure
- Be familiar with the Hashicorp Configuration Language syntax and Terraform configuration files
- Build and destroy a Virtual Network in Azure
Intended Audience
This lab is intended for:
- Individuals studying to take the HashiCorp Certified: Terraform Associate exam
- Anyone interested in learning how to use Terraform to manage Cloud Service Providers
Lab Prerequisites
You should be familiar with:
- Basic concepts of Cloud Service Providers
Environment before
Environment after
Luke is a Site Reliability Engineer at Microsoft. His background is infrastructure development using Terraform and in 2021 he was awarded the HashiCorp Ambassador award. He is an Azure DevOps Engineer Expert, Azure Administrator Associate, and HashiCorp Certified - Terraform Associate.