OpenTofu Rules

Everything under //tofu mirrors //terraform but binds to //tofu:toolchain_type. Rule bodies are identical — only the resolved toolchain differs — so behavior stays in lockstep between the two engines. Data-only rules (tofu_module, tofu_external_module, tofu_provider, tofu_provider_group) are literal aliases for their terraform_* counterparts, provided so an OpenTofu-only project never has to import a terraform_* symbol.

Public rules

Module extensions