Reference
Optional: hand this page to your coding agentThe steps work by hand too.Show the whole prompt
Use https://intentius.io/choudoufu/docs/use/reference/ to check this repository's `estate.chdf.hcl` or `live` block and list any unknown or misspelled argument or value. Change no files. Never apply or destroy (`choudoufu apply`, `choudoufu destroy`, `tofu apply`), approve a saved plan, or merge; never edit or remove an owner tag by hand.choudoufu <command> -help lists every flag. Everything else follows
OpenTofu.
Commands
Section titled “Commands”| Command | What it does |
|---|---|
plan, apply |
Plan and apply against markers |
plan -adoption-only |
Each instance’s live match and adopt command |
live-check DIR |
Checks a configuration, offline |
live-import |
Bulk migration from a state file |
live-mv <old> <new> |
Rewrites a marker |
live-plan |
The live plan; -filter narrows it |
live-history <address> |
A record’s versions, newest first |
live-sweep-secrets |
Orphaned SSM secrets; -delete removes them |
live-graph DIR -json |
The estate’s graph |
investigate, mcp |
Read-only questions, also over MCP |
live-ls -estate=<name> |
Lists an estate |
live-bucket -bucket <name> |
Checks a bucket |
live-cluster |
Checks a cluster record store |
live-cone, plan -cone |
The plan cone |
The live backend
Section titled “The live backend”The live backend replaces the backend block, in estate.chdf.hcl or a
live block inside terraform. A backend block beside it is ignored
with a warning. Except under
local, an apply writes the estate’s non-sensitive outputs to the store.
estate = "prod-networking"
record_store "s3" {
bucket = "my-records-bucket"
}estate is the tofu-estate marker value. reads = "full" reads every
instance live; the default "selective" serves unchanged instances from the
cache under -refresh=false.
Blocks
Section titled “Blocks”record_store takes the label "local", "s3", "kubernetes", "gcs" or "azurerm".
| Argument | Store | Meaning |
|---|---|---|
path |
local |
Records directory |
bucket, region, bucket_owner |
s3 |
Bucket, region, owning account |
key_prefix |
s3, kubernetes, gcs, azurerm |
Replaces tofu-records/<estate>/ |
namespace |
kubernetes |
Defaults to tofu-records-<estate> |
host, config_path, exec and the rest |
kubernetes |
As in stock’s kubernetes backend |
control_plane "eks", "gke" or "aks" block |
kubernetes |
The managed cluster whose encryption at rest is checked |
bucket, credentials, impersonate_service_account, kms_encryption_key and the rest |
gcs |
As in stock’s gcs backend |
storage_account_name, container_name, resource_group_name, use_azuread_auth and the rest |
azurerm |
As in stock’s azurerm backend |
allow_insecure |
s3, kubernetes, gcs, azurerm |
Checks this estate waives, by name |
policy sets a verb per case, such as undeclared_tagged
(live/OWNERSHIP-POLICY.md).
strict holds marker_repair, secrets, no_source_create,
provider_change and an ssm block for "ssm"
(live/STRICT.md).
Specifications
Section titled “Specifications”Markers, refusals, IAM permissions, outputs. EVIDENCE.md indexes what is verified and how.