← Terraform & Infrastructure as Code learning pathTerraform & Infrastructure as Code · Module 1 of 10
Infrastructure as Code
Manage servers, networks and cloud services with code.
📖 Key ideas
- IaC describes infrastructure in text files kept in Git.
- Benefits: repeatable, reviewable, versioned, fast.
- Declarative tools (Terraform) describe the end state.
- Imperative scripts list steps to perform.
- Popular tools: Terraform/OpenTofu, CloudFormation, Bicep, Pulumi.
💡 Real-life example: IaC is a recipe book: anyone can cook the exact same dish (environment) by following it.
IaCInfrastructure as Code
DeclarativeDescribe desired end state
ImperativeDescribe steps to run
OpenTofuOpen-source Terraform fork