Untaint
Overview
Removes the taint mark from resources so the next apply no longer recreates them, like terraform untaint. When it finishes or you cancel, Esc returns you to the screen you came from.
Screenshot

Interactive (TUI)
Untaint has no key on Home. Press T in State or Plan to untaint the resource under the cursor, or press ! → T to untaint every pinned resource.
Keybindings
| Key | Action | When |
|---|---|---|
y / Y / Enter |
Confirm untaint | Confirming |
n / N / Esc |
Cancel | Confirming |
p |
Navigate to plan (not offered by standalone tfui untaint, which has no Plan) |
Done |
ctrl+r |
Retry | Error |
Esc |
Back to the screen you came from | Idle, Done, Error |
Flow
Idle → Confirming → Loading → Done/Error
- tfui asks “Untaint <address>?”, or lists every address for a batch.
- On
y, it runsterraform untaintfor each address in turn. - When it finishes, the plan is marked stale: Plan re-plans the next time you open it.
Escreturns you to where you started;popens Plan instead.
Command Line (CLI)
tfui untaint <address> # Untaint single resource
tfui untaint <addr1> <addr2> # Batch untaint
With a terminal attached, tfui asks for confirmation; a headless run untaints without asking.
Exit codes: see CLI I/O contract.
Equivalence
| Goal | CLI | TUI |
|---|---|---|
| Untaint a resource | tfui untaint <address> |
From state/plan: T → y |
| Batch untaint | tfui untaint <addr1> <addr2> |
Pin multiple → ! → T → y |
Related
- Taint – mark resources for recreation
- State Browser – browse resources and untaint from context
- Plan – see the effect of untainting