| Crates.io | terraform-plan-formatter |
| lib.rs | terraform-plan-formatter |
| version | 0.1.0 |
| created_at | 2025-11-24 00:22:52.643798+00 |
| updated_at | 2025-11-24 00:22:52.643798+00 |
| description | A CLI tool to format Terraform plan output in human-readable format |
| homepage | https://github.com/example/terraform-plan-formatter |
| repository | https://github.com/example/terraform-plan-formatter |
| max_upload_size | |
| id | 1947168 |
| size | 50,123 |
A minimal CLI tool to format Terraform plan output in a beautiful, human-readable format with expandable HTML output.
curl -sSL https://raw.githubusercontent.com/example/terraform-plan-formatter/main/install.sh | bash
iwr -useb https://raw.githubusercontent.com/example/terraform-plan-formatter/main/install.ps1 | iex
apk add tfplan
tfplan-v0.1.0-x86_64-apple-darwin.tar.gztfplan-v0.1.0-aarch64-apple-darwin.tar.gztfplan-v0.1.0-x86_64-unknown-linux-gnu.tar.gztfplan-v0.1.0-x86_64-pc-windows-gnu.ziptfplan in your PATHgit clone https://github.com/example/terraform-plan-formatter.git
cd terraform-plan-formatter
cargo build --release
cp target/release/tfplan /usr/local/bin/
# From file
tfplan plan.json
# From stdin
terraform plan -out=plan.tfplan
terraform show -json plan.tfplan | tfplan
# Generate HTML output
tfplan --html plan.json > plan.html
# Collapsed view (headers only)
tfplan --collapsed plan.json
# Interactive mode
tfplan --interactive plan.json
▼ + aws_instance.web will be created
ami: "ami-12345678"
instance_type: "t3.micro"
▼ ~ aws_s3_bucket.data will be changed
encryption: null => "AES256"
versioning: false => true
Interactive HTML with clickable expand/collapse functionality, dark theme, and syntax highlighting.
# Build
make build
# Test
make test
# Build for all platforms
make release
# Quick demo
make demo