>Opentofu

Documentation

OpenTofu features

OpenTofu capabilities and guides for workspaces, runs and automation.

Use workspaces to keep infrastructure configuration, variables and state together. A run plans a change and, when approved or configured for auto-apply, applies it. Start with your first OpenTofu workspace.

Capabilities

CapabilityWhat you can do
External run checksCall external services at run-stage boundaries and enforce advisory or mandatory results. Limits: An unreachable or errored mandatory check fails the gate. A reported failure can wait for an authorized override.
Plans, applies and run historyPreview infrastructure changes, confirm an apply and inspect the recorded result. Limits: Auto-apply removes the confirmation step, including for destroy runs. Plan-only runs cannot be applied.
Repository path filtersTrigger workspace runs only when monitored files change, using directories or glob patterns. Limits: Turning file triggers off ignores path filters; branch and automatic-queue gates still apply.
Run cancellationCancel queued or executing work from the run page or API. Limits: Cancellation does not roll back infrastructure changes already made.
Run outputFollow plan and apply output while a run executes and read its stored logs afterwards.
Run timeoutsSet a workspace timeout to limit long-running apply operations. Limits: Initial platform plans have a separate deadline. Agent commands and platform provider-error retries can continue after the run is marked failed.
Variables and shared setsPass Terraform and environment variables to runs and share sets across projects or workspaces. Limits: Sensitive values are protected in storage, but code running in a job can expose values it receives.
Workspace change requestsRecord work for workspace owners and archive each request when it is done. Limits: Filing needs organization workspace-management permission; archiving needs workspace write access. UI views load one page; use API pagination for larger backlogs.
Workspace settingsChange a workspace name, working directory, OpenTofu version and execution settings without recreating it. Limits: Changing repository or branch points existing state at different configuration. Review state-affecting changes carefully.

Further reading

All platform features includes Ansible and shared platform capabilities. For automation, read Using the API or Managing Stackweaver with Terraform.