How To Configure Terraform Within Azure Cloud Shell

Azure Cloud shell is a free interactive shell that you can use in Azure (minimal storage costs apply), it has many preinstalled tools, one of which is Terraform. Terraform can be accessed through the bash experience within Cloud Shell. In this video Nick will take you through the process of configuring Azure Cloud shell environment variables to use for authentication with Terraform. Then we will show how to execute the script containing the variables. Finally, we’ll run a short script to create a resource group and run through the process of initializing, running terraform plan and then applying the configuration.

Prerequisites include: An Azure Account Azure Service principal Azure Cloud Shell