Prerequisites¶
Install tools¶
- Install Terraform
- Install Azure CLI
- If you're using VS Code, install the Terraform Extension for VS Code
Create resource group in Azure¶
Using the Azure CLI, create a resource group in Azure to contain the resources created during this tutorial:
-
Login to Azure:
az login
-
Set active subscription:
az account set -s <SUBSCRIPTION_NAME_OR_ID>
-
Create a resource group:
$ az group create -n example-rg -l eastus -o table Location Name ----------- ---------- eastus example-rg
-
Clone the repository:
$ git clone
Now we're ready to start learning about Terraform, starting with the basic syntax.