up
Start a convergence of the configuration against the workspace — tofu plan and tofu apply, carried through every round a deferred change needs (a value known only after an apply). Submits the convergence and stops at round 1’s plan gate (awaiting_plan): nothing is planned until plan is called with its convergence_id, and nothing is applied until apply names the plan’s digest. Every call returns within the server’s deadline, and every result says where the convergence stands (outcome), whether it is over (ended) and the call that continues it (next). One convergence runs on a workspace at a time: calling this again supersedes one waiting at a gate — its plan gate or its approval point (it is cancelled, and the result’s note says so) — and is refused while one is planning or applying. Each round: plan plans it and stops at its approval point; apply applies it and stops at the next round’s plan gate, until nothing is deferred (converged). drift: { sweep, settle, confirm } asks the engine to turn drift detection on, with those settings, when this run converges; every result carries a drift block saying where that stands. Turning detection on is the user’s choice (the sweep reads every managed object unattended): pass drift only on their words.
Tiers: plan · full
Annotations
Section titled “Annotations”| Annotation | Value |
|---|---|
title |
Start run (plans first) |
readOnlyHint |
false |
destructiveHint |
false |
idempotentHint |
false |
openWorldHint |
true |
Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
workspace_alias |
string | no | Workspace alias, as ‘open’ named it. Omit for the workspace opened without an alias (‘default’), however many others are open. |
var |
object | no | Root input variable values — ‘tofu -var’. A string is passed as the raw text a -var carries (parsed by the declaration’s type: “2” is a number for a number variable); any other JSON value is passed as its HCL literal. Held for this convergence only, never kept: laid over the values open was given, name by name, and the read tools use open’s, not these — a state-encryption passphrase goes to open. Above var_file, the auto-loaded *.tfvars and TF_VAR_ environment. |
var_file |
array of string | no | Variables files — ‘tofu -var-file’, in order, below var, for this convergence only; a name one sets overrides open’s var for it. A relative path is relative to the configuration directory (where tofu would run). terraform.tfvars and *.auto.tfvars in the configuration directory are loaded without naming them. |
overlays |
map of string | no | Overlay files laid over the configuration in memory for this convergence alone, never written to the directory: a file name ending .turf.hcl (or .turf.json) to its content. The engine reads each as a file of the directory in every round, so an action declared in one can be invoked and an action_trigger in one binds its target. A name that collides with a file in the directory is refused. A later up without them drops them: to keep an interaction point, write the file instead. |
plan_only |
boolean | no | Plan one round and end: once plan plans it the round ends ‘planned’ instead of waiting for approval, nothing is applied, and the workspace is free. The plan is kept by the engine as a planfile (the result’s planfile: ref, digest, expires_at; plan.uri reads it) for apply with planfile to apply later — from this server, or from another that opens the workspace. A planfile applies only while nothing has moved: an edit to the configuration, a change to the state or another convergence on the workspace makes it stale. |
max_rounds |
integer | no | Most rounds the convergence runs before ending ‘exhausted’ with work still deferred (default 5). |
drift |
object | no | Turn drift detection on for the workspace when this run converges, with these settings (as the drift tool takes them; name at least one); every result carries drift { …, state }. Turning detection on is the user’s choice: pass it only on their words. |
drift.settle |
integer | no | Seconds a changed object must be quiet before its signal is confirmed and becomes a notice; 0 takes the engine’s default (30). |
drift.sweep |
integer | no | Seconds one sweep cycle takes to read every managed object, unattended, with the engine’s credentials; 0 turns the sweep off. |
drift.confirm |
boolean | no | false: no confirming read, so every notice stays unconfirmed and the sweep does not run; true: confirm reads a settled object (the default). |
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