Terraform
Defining infrastructure in code so it can be rebuilt the same way every time.
Learning track · 9 lessons
Terraform basics
Each lesson explains one idea in plain words, with a hands-on step you can run yourself. The first six lessons run entirely on your own computer, so nothing can cost you money; Lesson 7 moves to a real cloud, and shows you how to clean up so nothing keeps billing you.
- 1What Terraform solvesStart · 20 min
- 2Reading a planStart · 20 min
- 3State: how Terraform remembersStart · 20 min
- 4Providers and resourcesStart · 25 min
- 5Variables and outputsStart · 25 min
- 6Repeating and choosing: count, for_each and conditionalsStart · 30 min
- 7Your first real cloudStart · 30 min
- 8Remote state and working in a teamStart · 30 min
- 9Modules and tidy habitsStart · 30 min
Guides
Create a DigitalOcean Kubernetes cluster with Terraform
One cluster, one node pool, plan, apply, and destroy at the end so nothing bills you.
Tools I use
Terraform Registry
Official provider docs and modules for infrastructure as code.
From www.kwamib.dev/resources/terraform