MPL-2.0

OpenTofu

Open-source infrastructure as code compatible with Terraform workflows

An open-source infrastructure-as-code tool used to declaratively manage cloud resources and deployments.

OpenTofu main image

In depth

What it is

OpenTofu is an open-source infrastructure-as-code tool used to declaratively manage cloud resources and deployments.

Key features

  • Plan/apply - Plan-and-apply workflow with state tracking.
  • Providers - Provider ecosystem for cloud and SaaS APIs.
  • HCL - HCL configuration with modules and variables.
  • State backends - Remote state, locking, and drift management patterns.

Strengths

  • Plan/apply - Plan-and-apply workflow with state tracking.
  • Providers - Provider ecosystem for cloud and SaaS APIs.
  • HCL - HCL configuration with modules and variables.

Trade-offs

  • State management - State handling and secrets require careful design.
  • Provider churn - Provider behavior changes can affect repeatability.
  • Change safety - Large plans need guardrails and review conventions.

Pricing

Open-source software. Direct license cost is zero; costs are typically infrastructure, operations, and optional paid support or hosting.

Explore alternatives