← Terraform & Infrastructure as Code learning path
Terraform & Infrastructure as Code · Module 1 of 10

Infrastructure as Code

Manage servers, networks and cloud services with code.

📖 Key ideas

  1. IaC describes infrastructure in text files kept in Git.
  2. Benefits: repeatable, reviewable, versioned, fast.
  3. Declarative tools (Terraform) describe the end state.
  4. Imperative scripts list steps to perform.
  5. 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