Member-only story

Deploy Azure Resources with Terraform

Sarah Lean
4 min readJan 31, 2023

--

Deploy Azure Resources with Terraform

Terraform is an Infrastructure as Code (IaC) tool that can help you define resources within your environment. In this article I want to take you through deploying your first resource within Azure via Terraform. The resource we are going to deploy is an Azure Resource Group.

Prerequisites

  • Azure subscription: If you don’t have an Azure subscription, create a free account before you begin

Build the Terraform Template

There are multiple ways to deploy Terraform templates, from your local machine. Through the Azure Cloud Shell and through DevOps tools. We are going to walk through creating the template and deploying it via the Azure Cloud Shell.

The reason we’re using this method is all the tools you need are already installed within Azure Cloud Shell.

  • Within the console type:

--

--

Sarah Lean
Sarah Lean

Written by Sarah Lean

Community Speaker — Lifelong Learner — Founder of the Glasgow Azure User Group

No responses yet