Up and destroy
turf up deploys or updates the configuration in the current directory, and turf destroy tears it
down. Each runs the Turf™ agent through the whole convergence, round by round, and stops to ask you
where a plan needs your yes.
cd path/to/config && turf upcd path/to/config && turf destroyIn your own agent the same tasks are /turf:up path/to/config and /turf:destroy path/to/config in
Claude Code, or a request in words anywhere else: see Deploy or update with up.
Choose the directory
Section titled “Choose the directory”Both commands work on the .tf files in the current directory. To name another one, use -C (long
form --chdir), as with tofu -chdir=DIR:
turf -C ./examples/azure-storage-container upturf -C ./examples/azure-storage-container destroyWords after up or destroy are instructions, not a path: write turf -C path/to/config up, never
turf up path/to/config.
Steer the plan with instructions
Section titled “Steer the plan with instructions”Pass freeform instructions after the command to steer the plan. Use -- when the text starts with a
dash:
turf up replace aws_s3_bucket.assetsturf up -- -var-file=env/staging.tfvarsturf destroy only module.stagingturf destroy -- -var-file=env/staging.tfvarsInstructions are honored within the normal plan and approve flow. They never bypass an approval or the destroy confirmation.
What you answer in the terminal
Section titled “What you answer in the terminal”On a terminal, both commands run in the lean TUI, in your scrollback. Each round stops at its plan gate, where the agent plans it, and then at its approval point, with the plan. The agent approves a low-risk plan itself: creates and in-place updates only. Anything else, such as a destroy, a replace, an import or an invoke, waits for your answer. A destroy always asks you to confirm.
turf up shows the round’s console link beside each plan gate and approval point,
so you can read the plan in the browser before you answer. Sign the browser in once with
turf console.
Turf’s own tools never ask for permission: the questions you answer are the agent’s, about plans.
Unattended runs: –yes
Section titled “Unattended runs: –yes”Without a terminal, in a pipe or a CI job, nobody can answer. A plan that needs your yes is declined
and left waiting at its approval point, where a later interactive turf can pick it up. A destroy’s
confirmation is declined, and nothing is destroyed.
--yes (alias --auto-approve) answers those questions yes, as each round’s plan comes, a destroy’s
included:
cd path/to/config && turf up --yescd path/to/config && turf destroy --yes--yes approves nothing up front. The run still goes through every round: the agent plans each one
and approves each plan by its digest, so a --yes destroy is one the agent saw the plan of.
Long rounds
Section titled “Long rounds”The CLI gives each convergence call five minutes. A round that takes longer keeps running in the
engine: the call says it is still planning or applying, and the agent calls again to follow it.
TURF_DEADLINE in the environment replaces the five minutes.
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