/terraform-on-azure

A repo self-lead to give you an understanding on deploying Terraform on Azure

Primary LanguageHCL

Terraform on Azure

A repo self-lead to give you an understanding on deploying Terraform on Azure from the basics to deploying into Azure.

What you will learn

In this self-lead, you will learn how to deploy Terraform on Azure from the basics to deploying into Azure.

This self-lead journey is broken down into 7 sections:

  1. Terraform Basics
  • Terraform Installation
  • Terraform Basic Commands
  • Introduction to Terraform resources
  • Using Terraform Azure Provider
  1. Terraform Variables
  • Introduction to Terraform Variables
  • Terraform tfvars
  • Local Variables
  1. Terraform State
  • Introduction to Terraform State
  • Local vs Remote State
  1. Terraform Advanced
  • Depends On
  • For Each
  • Count
  • Conditional Expressions
  • Dynamic Blocks
  1. Secret Management in Azure
  • Introduction to Azure Key Vault
  • Introduction to Azure Key Vault Secrets
  • Deploying Secrets to Azure Key Vault using Terraform
  1. Terraform Modules
  • Introduction to Terraform Modules
  • Using Terraform Modules & deploying
  1. Terraform AzAPI
  • Introduction to Terraform AzAPI
  • Using Terraform AzAPI & deploying

Prerequisites

How to use this repo / self-lead format

This repo is broken down into 7 sections, each section has a README.md file that will guide you through the self-lead. Each section may have a number of README.md files that will guide you through the section. These are also numbered to help you navigate.

Please do start from the beginning and work your way through the self-lead setup. Starting at 1 and working your way through to 7.

As you work through the self-lead, you will be asked to run various terraform. Please ensure you are in the correct terraform directory when running the terraform commands. (You will learn how to do this in section 3 terraform state) - Also remember to destroy your resources when you are done in each section.

Request a new tutorial / feature in this repo

Please do reach out to me or raise an issue on the GitHub repo if you are wanting me to include additional content - I feel it will be a continous work in progress to give you an understanding of Terraform while giving you the ability to deploy resources into Azure!