/latency24-terraform-workshop

This is a demo of how to use Terraform to deploy resources to Azure, and lots of tricks and tips along the way that may not be obvious to the beginner.

Primary LanguageHCL

Latency 2024 Terraform Demo

This is a demo of how to use Terraform to deploy resources to Azure, and lots of tricks and tips along the way that may not be obvious to the beginner.

A Github Codespaces environment is provided to allow you to run the code without needing to install anything on your local machine. If you do wish to work locally, you will need to install the Azure CLI and Terraform. Do note that I recommend using the Codespaces environment, as it is a consistent environment for everyone, and will make the workshop run smoother.

Demo prep

  1. Create a copy of this repository in your own Github account either by creating a Fork.
  2. Ensure you have an Azure subscription, and your account is an Owner on the Subscription.

Preparing your codespaces environment

  1. Fork this Repo. You may need to make an account / Sign in.
  2. Start the Codespaces by going Code >> Codespaces >> Create codespace on main
  3. Run az login --use-device-code with the supplied credentials.
  4. Execute az account list to test that you are logged in and everything is good to go.

Preparing your local machine for the demo

  1. Fork this Repo. You may need to make an account / Sign in.
  2. Clone the repo to your local machine.
  3. Install AzCli
  4. Install Terraform
  5. Run az login --use-device-code with the supplied credentials.
  6. Execute az account list to test that you are logged in and everything is good to go.

Handy Links

My Linktree!
Arkahna Website

Terraform Language Documentation
Terraform AzureRM Provider
Terraform Azure Naming Module Terraform Http Provider

Azure Documentation
Azure Cloud Adoption Framework
Azure Defining your Naming Convention
Azure Abbreviation Examples for Azure Resources

zombo.com