Infrastructure as Code Hands on Lab
In this lab we are going to create the infrastructure that we are going to be deploying our application to
- Login using az login Terraform uses your login credentials to create infrastructure
- Create a new folder
- Use the following instructions to create a Terraform file Virtual Machine
https://www.terraform.io/docs/providers/azurerm/r/virtual_machine.html - Ensure the Infrastructure is located in Canada and tag it with your name
- Convert the example VM to a Module with the following inputs
- Resource Group Name
- Location
- VM Size
- Use the Script to provision some infrastructure in Azure.
N.B. The following guide will be useful in this task: https://www.terraform.io/docs/modules/index.html