See the end result · about 30 minutes
Terraform for several teams: a preview of where the course takes you
Create a kind cluster and a local S3-compatible state store, then apply the finished reference repo: one module that gives every team its namespace, quota and access, in dev and in prod, each with its own locked state. Then run the module's tests, and watch the guard stop a plan that would delete a namespace.
This is a preview, not the first step. It applies the finished setup with few explanations, so you can see where you are heading. To learn it, start the full course: it builds the same thing from nothing, file by file, and explains every piece.
This preview
The finished files applied in one go: two environments, five teams, one stopped destroy. Commands to copy, few explanations.
The full course
10 modules: plan and apply, inputs, state and locking, modules, environments, tests and CI, import, drift and upgrades, five debugging labs and a capstone, all in your own repo.
Your setup
Every command below uses these values. They stay in this browser and are shared with the full course. Needs Docker, kind, kubectl and Terraform or OpenTofu. No cloud account.
What just happened
The full course builds every one of these files with you, breaks each on purpose, and ends with a team you onboard on your own.