← DevOps tools
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.

Why it exists.

It reduces manual provisioning, configuration drift, and provider-specific repetition by making infrastructure changes reviewable and repeatable.

Where it shines.

Multi-cloud provisioning, reusable modules, controlled environments, and teams that want plans before infrastructure changes.

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.

What it is made of.

  • Configuration
  • Providers
  • Modules
  • State
  • Plan and apply workflow

How it works.

  1. Configuration describes the desired resources
  2. Terraform refreshes state and creates a plan
  3. The plan is reviewed and approved
  4. Terraform applies the change and records the new state
Questions and answers.Open the interview practice set for Terraform.
Search