Skip to content

plan

Plan the round a convergence waits to plan — tofu plan, for the round at its plan gate (awaiting_plan, where up, destroy, refresh, import and invoke stop, and where each apply stops when another round is needed). Stops at the round’s approval point (awaiting_approval) and returns the plan as its resource (plan.uri: the OpenTofu json-format plan as tofu show -json prints it, redacted; show reads it) with its digest (plan.digest): nothing is applied until apply names that digest. A round with nothing to apply needs no approval: the call runs it through and stops at the next gate or the end. refresh (default true), replace, refresh_addresses and refresh_drift are this round’s options alone — the next round plans with the defaults unless its own plan call says otherwise; an option the round’s mode does not take (replace or a refresh scope in a destroy or a refresh) is refused, and the round still waits. refresh_drift: true reads only what the workspace’s open drift notices name (watch and status show them) and plans every other row from its record; the result’s refresh_scope says what was read and, as skipped, how many rows were planned unread. Names the convergence by convergence_id, or by the workspace it holds (workspace_alias). At any other stage — planning, awaiting_approval, applying, awaiting_actions — it follows the convergence to its next gate or its end and uses no options (a round already planned is handed back with its plan, nothing approved). Returns planning at the server’s deadline (ended false): the convergence goes on in the engine; call plan again to follow it.

Tiers: plan · full

Annotation Value
title Plan round
readOnlyHint false
destructiveHint false
idempotentHint false
openWorldHint true
Name Type Required Description
convergence_id string no The convergence_id from the result that reported awaiting_plan (or any result of this convergence). Omit it to name the convergence by the workspace it holds instead (workspace_alias).
workspace_alias string no Without convergence_id: the workspace whose convergence to plan — its alias as ‘open’ named it, omitted for the workspace opened without an alias (‘default’).
refresh boolean no Read each managed object before planning this round (default true). false is ‘tofu plan -refresh=false’: plan against the state as recorded. This round’s alone; a later round reads again unless its own plan call says otherwise.
replace array of string no Resource instance addresses to replace in this round even where the configuration has not changed — ‘tofu plan -replace=ADDR’. An up’s plan only. This round’s alone: the next round does not replace them again.
refresh_addresses array of string no Managed resource instance addresses this round reads before planning; every other row plans from its record, and one that then plans a change is read and planned again. An up’s plan only, never with refresh: false. This round’s alone.
refresh_drift boolean no Read what the workspace’s open drift notices name: the server fills the refresh scope from them as the round plans (with refresh_addresses, the union). With nothing open the round reads every object, and the result says so. An up’s plan only, never with refresh: false. This round’s alone.

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