REA OpenTofu .tf notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

OpenTofu (*.tf, .tofu where used, module and provider pins) pins open IaC config identity. In REA 6.7.x, treat selected resource/module/provider labels as Evidence beside archive/package routes — complementing Terraform/Pulumi cousins without inventing APIs.

Mental model

  1. Authorize the OpenTofu project tree (+ packaged module artifacts you hold).
  2. Quote selected resource types, module sources, and provider constraints you actually see (never paste secrets).
  3. Cousins → terraform-tf · terraform-lock · pulumi-yaml · crossplane-yml.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_opentofu_tf API REA never called.

Minimal path

# authorized *.tf / .tofu (+ artifact you hold)
# quote selected resource/module/provider pins into case notes
# cousins → peer Terraform / Pulumi / Crossplane lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_opentofu_tf .

Compare

ArtifactHonest posture
OpenTofu .tfOpen IaC config identity facts
Terraform peerrea-terraform-tf
Pulumi peerrea-pulumi-yaml
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote resource / module / required_providers pins — enough for most Evidence binders.
  • Backend blocks often embed tokens — record backend type/labels only.
  • Keep OpenTofu distinct from HashiCorp Terraform in case notes even when HCL overlaps.
  • Lockfiles (.terraform.lock.hcl style) may still appear — peer rea-terraform-lock when the tree uses one; label which CLI produced it when known.
  • Registry module sources — quote namespace/name/version labels; redact private registry tokens.
  • Do not invent REA helpers for tofu plan / tofu apply against live clouds.

Scope we will not cover

  • No inventing inspect_opentofu_tf / automatic attacks against foreign clouds.
  • No credential theft from backends, provider blocks, or CI variables.
  • No pirate redistribution of proprietary IaC trees.
  • No crack framing via OpenTofu pins.
  • No cookbooks that weaken state encryption on foreign deployments.

Honest limits

RepoRead documents config literacy — how authorized OpenTofu trees relate to Evidence — not a full OpenTofu course. Prefer upstream OpenTofu docs for language and CLI. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-terraform-tf / rea-pulumi-yaml / rea-crossplane-yml?

rea-terraform-tf covers HashiCorp Terraform; rea-pulumi-yaml covers Pulumi YAML; rea-crossplane-yml covers Crossplane Composition YAML. This page zooms on OpenTofu config identity — it does not overwrite those pages.

Is there inspect_opentofu_tf in 6.7.0?

Not assumed. Quote resource/module/provider pins you actually open, then use documented package/archive lanes. Do not invent inspect_opentofu_tf.

Does REA connect to cloud APIs or steal credentials?

No. Local trees only. Redact backend configs with tokens and provider secret blocks; do not treat REA as an OpenTofu runner. No credential theft.

How should I label Evidence vs Terraform configs?

Label Evidence by the tool/file present. Keep OpenTofu separate from rea-terraform-tf even when HCL looks similar — quote which CLI the tree documents.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources