Skip to content

Overview

Turf™ has a small vocabulary, and every tool result uses it. This page is the map; the pages after it take one idea each.

CONFIGURATION · init registers itconfigurationa directory of .tf files, plus *.turf.hcl overlaysWORKSPACE · open binds it to a configurationworkspacea backend and a state slotCONVERGENCEone run of up, destroy, refresh, import or invoke: rounds, until nothing is deferredROUND 1plan gatewaits for planapproval pointthe plan and its digest;apply approves that planapplymay pause at a turf actionROUND 2plan gatewaits for planapproval pointthe plan and its digest;apply approves that planapplymay pause at a turf actionROUND 3 …plan gatewaits for planapproval pointthe plan and its digest;apply approves that planapplymay pause at a turf actiona value known only after an apply defers what needs it to the next roundconvergednothing left deferred
The map. A configuration and a workspace feed a convergence; each round stops at its plan gate and its approval point, and the run ends when nothing is left deferred.

Configuration. A directory of ordinary .tf files, plus any *.turf.hcl overlays. The desired state. init registers it, installs its modules and providers, and reports what it declares: backend, workspace, variables, outputs, providers. Every plan is a projection of this directory.

Workspace. A backend and a state slot, bound to a configuration by open. The backend comes from the configuration’s own block; open supplies only what the block leaves out. A workspace is named by an alias while it is open. Details: Workspaces and backends.

Convergence. One run of up, or of destroy, refresh, import or invoke: rounds of plan, approve, apply, until nothing is deferred. A convergence lives in the engine, not in the server or the conversation, so it outlives both. It holds the workspace’s state lock while it runs.

Round. One plan and its apply. A value known only after an apply (an ID the provider mints, a cluster’s endpoint) defers what needs it to the next round. Why runs have rounds: Rounds and deferrals.

Plan gate. Where a round waits for plan. The result says awaiting_plan; nothing is planned yet. up stops at round 1’s plan gate, and apply stops at the next round’s.

Approval point. Where a round’s plan waits for apply. The result says awaiting_approval and carries the plan (plan.uri, which show reads) and its digest. apply with that digest is the approval, of that plan and no other; apply with decline turns it down. Who approves what: Approval.

Turf action. A step the configuration asks the agent to carry out during an apply: a check, a backup, a notification, a question for you. The apply stops for it (awaiting_actions) and continues when the agent answers with apply and action_results. Turf actions.

Planfile. A plan sealed for later. plan_only: true on a start verb ends the round planned with a planfile; apply with the planfile and its digest applies it, here or on another server with its own credentials. Plan now, apply later.

Overlay. A *.turf.hcl file beside the .tf files, holding Turf’s interaction points: turf actions and their triggers, laid over the configuration without editing it. Actions and overlays.

Backend. Where the state lives: local, an object store, a Kubernetes® Secret, a remote backend. The configuration’s backend block names it; the server’s environment holds its credentials. Where credentials are read.

Drift notice. What the engine tells your agent when an object changed outside Turf between runs: an address, a class and the attribute paths that changed. A notice is not a plan. An ordinary up and its plan answer it. Drift.

Every result carries three fields: outcome, where the run stands; ended, whether it is over; and next, the call that continues it. The outcomes an agent sees most:

Outcome Meaning
awaiting_plan At a plan gate. Call plan.
awaiting_approval At an approval point. Review the plan; apply with its digest, or decline.
awaiting_actions The apply waits on turf actions. Do them; apply with the results.
converged Done: nothing left deferred.
failed, stalled, exhausted, stale, declined, cancelled The run ended without converging; each says why.

The full table is in Result shape, and what to do about each ending in When something goes wrong.

Turf™ is a trademark of Turf LLC. Terraform® is a trademark of HashiCorp. Ansible® is a trademark of Red Hat, LLC, registered in the United States and other countries. Helm®, Kubernetes®, Prometheus® and OpenTelemetry® are registered trademarks, and Jaeger™ is a trademark, of the Linux Foundation. OpenTofu® and Model Context Protocol® are registered trademarks of LF Projects, LLC. All other trademarks are the property of their respective owners. Turf is not affiliated with, endorsed by, or sponsored by HashiCorp, IBM, Red Hat, the Linux Foundation, LF Projects or the OpenTofu project.

© 2026 Turf LLC. Free for individuals, education and small businesses within the Community limits, under the Turf Community Edition License 1.0. Government and larger organizations need a commerciallicense.turf.build · Discord ·GitHub