Link Search Menu Expand Document

Terraform Workshop for beginners

This workshop is designed for beginners and gives an introduction to the basic concepts of Terraform.

Open presentation mode for a workshop-friendly launcher that reuses the existing chapter pages.

Choose a track at the beginning, then both tracks reuse the shared Terraform foundations:

Requirements

In order to participate in the workshop, the following requirements should be met:

  • Basic knowledge about Cloud Services and IaC
  • Basic git and cli experiences
  • AWS account, Google project or Azure subscription as Playground
  • terraform cli, tfswitch or tfenv is installed
  • cli tool for selected cloud environment like gcloud is installed

Workshop content

  1. Core Components (approx. 15 min)
  2. Typical Terraform workflow (approx. 15 min)
  3. HashiCorp Configuration Language (HCL) Part 1 (approx. 45 min)
  4. Break (approx. 10 min)
  5. HashiCorp Configuration Language (HCL) Part 2 (same chapter, approx. 45 min)
  6. Guided demonstration: First Apply (approx. 15 min)
  7. Choose a track:
  8. Hands-on: “Cloud Storage” (standard track, approx. 30 min)
  9. Break (approx. 40 min)
  10. Dependencies (approx. 15 min)
  11. Hands-on: “Cloud Storage with upload” (standard track, approx. 30 min)
  12. Modules (approx. 15 min)
  13. Break (approx. 10 min)
  14. Hands-on: “Modules” (standard track, approx. 30 min)
  15. Best Practices (approx. 15 min)
  16. Questions (approx. 15 min)
  17. What’s next (approx. end of life ;-D)

(Total: approximately 5h 45min, including 1h of breaks)

Optional:

  • terraform test
  • check {} blocks
  • Terraform Workspaces
  • Tflint
  • terraform-docs
  • Terragrunt (with the usual caveat that OpenTofu now covers part of its old value proposition)