Skip to main content


The documentation is divided into four main sections, covering CLI-based workflows, internal processes, an introduction to the tool's capabilities, and guidance on using the OpenTofu configuration language for managing infrastructure.


OpenTofu is an infrastructure as code tool that lets you build, change, and version cloud and on-prem resources safely and efficiently.

CLI Documentation

Learn OpenTofu's CLI-based workflows. You can use the CLI alone or with cloud backends.


Use the OpenTofu configuration language to describe the infrastructure that OpenTofu manages.


Learn how OpenTofu generates the resource dependency graph and executes other internal processes.