Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 1.17 KB

README.md

File metadata and controls

14 lines (12 loc) · 1.17 KB

azure-terraform-vault-workshop

This repo contains Terraform code for standing up a HashiCorp Vault training lab on Microsoft Azure. You can use it for a half-day Terraform workshop, a half-day Vault workshop or combined day-long workshop covering both. To set up and run either or both workshops, simply follow the instructions below.

Lab Setup

  1. Clone or download the code from here: https://github.com/scarolan/azure-terraform-vault-workshop
  2. Open a terminal and cd into the azure-terraform-vault-workshop directory
  3. Copy the settings in terraform.tfvars.example into a terraform.tfvars file. Set the prefix variable to your name. This is the only required setting. You can also change the location variable to the Azure region nearest you.
  4. Uncomment the code in main.tf (or simply copy over it with main.tf.codeonly)
  5. Run terraform plan and then terraform apply
  6. Go get some coffee. It takes roughly 8-10 minutes to provision this environment on Azure.
  7. When the setup is done, follow the steps listed in the Terraform output.

Note for Instructors:

If you're teaching this workshop to a class, head on over to the Instructor Notes page.