Show in graph
CLD

Operations → Cloud Infrastructure

Terraform

An infrastructure-as-code tool for provisioning and managing cloud and infrastructure resources.

Terraform diagram

Motivation

Terraform solves the problem of defining infrastructure declaratively and applying changes repeatably.

Where it fits

It belongs to infrastructure as code and operations.

Mental model

Terraform is a planner: it compares desired infrastructure with current state and proposes changes.

Important details

Important details include providers, state files, modules, plans, applies, and drift.

Common mistakes

  • Editing cloud resources manually behind Terraform’s back.
  • Storing state insecurely.