Infrastructure as Code for beginners. This repo focuses on learning Terraform basics on Azure.
Session 1. Deploy a basic Terraform file using your local machine. This will create one linux VM in your Azure environment. (v1.0.0)
Session 2. Create a composite terraform configuration using input variables and output files. (future)
Prerequisites:
- Access to an Azure subscription
- Get a free sub here
We will cover topics like:
- Using input variables and outputs
- What is 'remote state' and how to store the state file in a secure manner
- When to use certain elements like count, ternary ops, loops, modules, etc
Using the Infrastructure as Code (IaC) System
To be able to develop Terraform templates and GitHub workflows, install the following software on your workstation:
- Git or
choco install git
- Visual Studio Code or
choco install vscode.install
- Terraform or
choco install terraform
- Azure CLI or
choco install azure-cli
- Azure PowerShell or
choco install azurepowershell
Click on the links above and install the packages following the instructions provided. Next, start VS Code and install extensions. Some of the ones we recommend are listed below: