Infrastructure / Practice
Terraform
An infrastructure-as-code tool that defines cloud and platform resources in configuration files and manages their lifecycle through a state model.
Problem it solves
Why it exists.
It reduces manual provisioning, configuration drift, and provider-specific repetition by making infrastructure changes reviewable and repeatable.
Optimized for
Where it shines.
Multi-cloud provisioning, reusable modules, controlled environments, and teams that want plans before infrastructure changes.
Use with care
Where not to use it.
Do not use it as a runtime orchestrator or apply large state changes without reviewing plans, ownership, and recovery paths.
Components
What it is made of.
- Configuration
- Providers
- Modules
- State
- Plan and apply workflow
Process
How it works.
- Configuration describes the desired resources
- Terraform refreshes state and creates a plan
- The plan is reviewed and approved
- Terraform applies the change and records the new state