Skip to content
StackDecode
System Design
14. Cloud ArchitectureAnimated

Terraform

A popular tool for IaC across clouds.

The idea

You write declarative configuration; Terraform plans and applies the changes.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

DeveloperGit repoCI pipelineTerraformCloud provider
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Describe infrastructure as code in Git.

step:
1/4
at:
Developer
1/8

The green dot is a request moving through the system.

Step by step

  1. 1Write .tf files
  2. 2Run plan
  3. 3Review the changes
  4. 4Apply and record the state

Where it is used

Multi-cloud provisioning.

Watch out for

Protect the state file, as it may contain secrets.

Related