Member-only story
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.
- Navigate over to https://shell.azure.com
- Ensure you are using the Bash Cloud Shell
- Within the console type: