Derrick Foos's Terraform Workbench

Offline-only · No network calls · Runs entirely in your browser · Save this file and open it locally

Full offline Terraform workbench: plan summaries, change tickets, variables/outputs, HCL tools, state helpers, moved/import blocks, secrets redaction, backend/workspace helpers, and more. Everything stays on this device.

Plan Visualizer & Change Ticket

Paste raw terraform plan text. Get counts, a filterable table, Markdown summary, and a change-ticket ready block.

Paste a plan and click Parse Plan.

Markdown Summary

Change Ticket Block

Variables & Outputs

Parse variable / output blocks. Generate tables, tfvars skeleton, Markdown docs, and shell/GitHub Actions exports.

Paste variable/output blocks and click Parse.

Variables

NameTypeDefaultSensitiveDescription

Outputs

NameSensitiveDescriptionValue

tfvars skeleton

Shell / CI exports (from outputs)

Markdown documentation

HCL Tools

Lightweight offline formatter and hygiene checks. Not a full HCL parser.

Input

Formatted

Paste HCL and click Format or Run Checks.

Scan for hardcoded CIDRs, AMIs, account IDs, regions, instance types, and similar literals.

Paste HCL and click Scan.

Define simple required tags and naming rules, then scan resources for violations.

Configure rules, paste HCL, click Scan.

Generate common lifecycle blocks. Copy and paste into a resource.

create_before_destroy prevent_destroy ignore_changes (tags) ignore_changes (all) replace_triggered_by create_before + ignore tags
Click a template above.

State & Refactor

Paste resource addresses (one per line). Generate state rm/mv/show/import templates.

Paste addresses and click Parse.

Generated commands

Generate Terraform 1.1+ moved, 1.7+ import, and 1.7+ removed blocks.

Fill fields and generate blocks.

Bulk mode — paste lines as old_addr → new_addr (one per line) then click Generate Bulk Moved:

Expand count or for_each into concrete resource addresses.

Enter address + count/keys, then Expand.

Paste output of terraform state pull (JSON). Search resources offline.

Paste state JSON and click Parse.

Providers & Modules

Parse required_providers and module blocks. Review constraints and get an offline upgrade checklist. Also normalize required_version.

Paste provider/module blocks and click Parse.

Required Providers

NameSourceVersion

Modules

NameSourceVersion

Markdown summary

Upgrade checklist + version check

Secrets / Sensitive Redactor

Paste plan output, state show, logs, or config. Values that look like secrets are masked before you copy into tickets or chat.

Input

Redacted output

Paste text and click Redact.

Backend & Workspaces

Build or validate common backend blocks. Generate -backend-config flags.

Choose backend type and fill fields.

List workspaces and var-files, then generate the exact plan/apply commands for each combination.

Workspaces (one per line)

Var-files (one per line)

Enter workspaces and var-files, then Generate.

Reference & Cheatsheets

Static offline cheatsheet of frequently used arguments (AWS-focused). Not a live schema.

ResourceCommon required / important args

Paste a single .tf snippet. Extract rough references (resource.attr, module.x.y, var.z, data.a.b).

Paste HCL and click Extract.

Quick offline reference for Terraform meta-arguments.