Infrastructure as code
Terraform from your first resource to a whole platform in two regions.
QuickCart: Opening in a second country took a week of clicking. Next time: one command.
Lessons in this module
- Why TerraformWhat goes wrong when infrastructure lives in people's heads.ReadyDone
- Your first resourceProviders, plan, apply, destroy — and reading a plan.ReadyDone
- Variables, locals and outputsOne set of code for every environment.ReadyDone
- Loops and lifecyclefor_each, count's trap, and protecting what matters.ReadyDone
- ModulesReusable pieces, and where your standards live.ReadyDone
- Terraform stateHow Terraform remembers — and keeping that memory safe.ReadyDone
- Environments and regionsdev, stg and a second region by changing variables.ReadyDone
- Operating TerraformDrift, import, moved blocks and recovering from mistakes.ReadyDone
Put this module to work in Project 4: Everything as code.