Technology · Ebook
OpenTofu: Open Source Infrastructure as Code
by Shriira Press
OpenTofu is an open-source infrastructure-as-code tool, governed under the Linux Foundation, that lets you declare cloud and platform resources in configuration files and bring them into being with a single workflow. Born as a community fork of Terraform after its license changed, OpenTofu stays a drop-in, permanently open tool while pushing its own features forward. This book takes you from the problem of managing infrastructure by hand to a working command of the whole system: the HCL configuration language, the provider plugin model that talks to thousands of APIs, the state file that remembers your infrastructure, the plan-and-apply workflow built on a dependency graph, modules for reuse, and OpenTofu's own additions — client-side state encryption, early evaluation, and dynamic providers.
Contents
- 1Preface
- 2Chapter 1 — What OpenTofu Is
- 3Chapter 2 — The Infrastructure-as-Code Problem
- 4Chapter 3 — The HCL Configuration Language
- 5Chapter 4 — Providers and the Plugin Model
- 6Chapter 5 — State
- 7Chapter 6 — Plan and Apply
- 8Chapter 7 — Modules
- 9Chapter 8 — State Encryption
- 10Chapter 9 — Early Evaluation and Dynamic Providers
- 11Chapter 10 — OpenTofu in Practice
