Skip to content

GuyBarros/azure-terraform-vault-workshop

 
 

Repository files navigation

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.

About

One day Terraform and Vault workshop on Azure Cloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 76.2%
  • Shell 23.8%