opentofu/docs
Christian Mesh 4ccf87ebee Update plugin protos to 5.10 and 6.10
This is from the MPL2.0 licensed source

Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2026-04-01 11:43:57 -04:00
..
images Remove all doc website doc images, adapt architecture-overview.png to new packages 2023-08-29 15:58:42 +03:00
plugin-protocol Update plugin protos to 5.10 and 6.10 2026-04-01 11:43:57 -04:00
architecture.md fix: point link to tofu docs (#2707) 2025-04-24 16:39:34 -04:00
destroying.md Rename to opentofu docs and root folder (#529) 2023-09-21 12:53:02 +03:00
diagnostics.md Fix typos in the diagnostics.md docs (#3306) 2025-09-25 15:10:14 +01:00
glossary.md Glossary - initial version (#3411) 2025-10-28 11:41:31 +02:00
planning-behaviors.md Rename to opentofu docs and root folder (#529) 2023-09-21 12:53:02 +03:00
provider-references.md Update provider for_each internal documentation (#2870) 2025-05-28 11:30:41 -04:00
README.md docs: Diagnostics Guide 2025-09-24 07:42:15 -07:00
resource-instance-change-lifecycle.md Rename to opentofu docs and root folder (#529) 2023-09-21 12:53:02 +03:00
state_encryption.md Documentation updates for 1.7.0-alpha1 (state encryption) (#1396) 2024-03-14 15:05:05 +01:00
tracing.md tracing: Centralize our OpenTelemetry package imports 2025-10-30 13:27:10 -07:00
unicode.md Remove last remnants of ".go-version" file 2026-01-20 07:50:18 -05:00

OpenTofu Core Codebase Documentation

This directory contains some documentation about the OpenTofu Core codebase, aimed at readers who are interested in making code contributions.

If you're looking for information on using OpenTofu, please instead refer to the main OpenTofu CLI documentation.

OpenTofu Core Architecture Documents

  • OpenTofu Core Architecture Summary: an overview of the main components of OpenTofu Core and how they interact. This is the best starting point if you are diving in to this codebase for the first time.

  • Resource Instance Change Lifecycle: a description of the steps in validating, planning, and applying a change to a resource instance, from the perspective of the provider plugin RPC operations. This may be useful for understanding the various expectations OpenTofu enforces about provider behavior, either if you intend to make changes to those behaviors or if you are implementing a new OpenTofu plugin SDK and so wish to conform to them.

    (If you are planning to write a new provider using the official SDK then please refer to the Extend documentation instead; it presents similar information from the perspective of the SDK API, rather than the plugin wire protocol.)

  • Diagnostics: how we report errors and warnings to end-users in OpenTofu.

  • Plugin Protocol: gRPC/protobuf definitions for the plugin wire protocol and information about its versioning strategy.

    This documentation is for SDK developers, and is not necessary reading for those implementing a provider using the official SDK.

  • How OpenTofu Uses Unicode: an overview of the various features of OpenTofu that rely on Unicode and how to change those features to adopt new versions of Unicode.

Contribution Guides