tfui latest

Plugins

Every tfui screen is a plugin. Most plugins open with one key from Home. The rest open from another plugin or from command mode (:).

Available Plugins

ID Name Key Category Description
state State Browser s navigation Browse and inspect terraform state resources
plan Plan Review p operations Review terraform plan changes with expandable attribute diffs
apply Apply a operations Apply terraform changes with confirmation and elapsed time tracking
workspace Workspace w navigation Manage terraform workspaces (list, switch, create, delete)
output Outputs o navigation View terraform output values
validate Validate v operations Run terraform validate and show diagnostics
taint Taint — (t in State/Plan) action Mark resources for recreation on next apply
untaint Untaint — (T in State/Plan) action Remove taint mark from resources
import Import — (n in State) action Import existing infrastructure into terraform state
console Console ~ operations Evaluate terraform console expressions
risk Risk Analysis R analysis Analyze and group planned changes by risk level
phantom Phantom Changes P analysis Detect and explain phantom (no-op) changes in terraform plans
blastradius Blast Radius B analysis Visualize module-grouped changes with impact scores
context Context C navigation Manage project, chdir, and workspace selection
init Init i operations Run terraform init with form-based options
forceunlock Force Unlock — utility Remove a stale state lock
version Version — utility Show tfui and terraform version information
chdir Chdir Picker — navigation Select chdir member (hidden, activated by context plugin)

Categories

  • Action: open from State or Plan on the selected resources, ask for confirmation, run one terraform command; Esc then returns you to the screen you came from.
  • Operations: run a terraform command against the current context.
  • Analysis: read the last plan and change nothing.
  • Navigation: browse state, outputs and workspaces, and switch the context.
  • Utility: show version information or recover from a stale lock.

Enabling/Disabling Plugins

All plugins are enabled by default. To disable one, add a plugin block under defaults in the project’s root tfui.hcl:

defaults {
  plugin "phantom" {
    enabled = false
  }
  plugin "blastradius" {
    enabled = false
  }
}

Plan and Apply take one more setting, targets; their pages describe it.

Adding a Plugin

To add a plugin, use the add-plugin skill; architecture explains the SDK.

Edit this page on GitHub