Terraform Workshop for beginners
This workshop is designed for beginners and gives an introduction to the basic concepts of Terraform.
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
ortfenv
is installed- cli tool for selected cloud environment like
gcloud
is installed
Workshop content
- Core Components (approx. 15 min)
- Typical Terraform workflow (approx. 15 min)
- HandsOn: “First Apply” (approx. 30 min)
- HashiCorp Configuration Language (HCL) Part 1 (approx. 45 min)
- Break (approx. 10 min)
- HashiCorp Configuration Language (HCL) Part 2 (approx. 45 min)
- HandsOn: “Cloud Storage” (approx. 30 min)
- Break (approx. 40 min)
- Dependencies (approx. 15 min)
- HandsOn: “Cloud Storage Permissions” (approx. 30 min)
- Modules (approx. 15 min)
- Break (approx. 10 min)
- HandsOn: “Modules” (approx. 30 min)
- Best Practices (approx. 15 min)
- Questions (approx. 15 min)
- What’s next (approx. end of life ;-D)
(Total: 5h + 1h Break)
Optional:
- Terraform Workspaces
- Tflint
- terraform-docs
- Terragrunt
Sources and links
- https://www.terraform.io/
- https://registry.terraform.io/
- Used tools and their installation docs
terraform
: https://learn.hashicorp.com/tutorials/terraform/install-clitfswitch
: https://tfswitch.warrensbox.com/Install/tfenv
: https://github.com/tfutils/tfenv#installationaws
: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.htmlgcloud
: https://cloud.google.com/sdk/docs/installaz
: https://learn.microsoft.com/en-us/cli/azure/install-azure-cligit
: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git