Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Terraform
  3. tf-summarize

tf-summarize

MITGov0.3.20

A command-line utility that summarizes Terraform plan output into concise tables, trees, or JSON for quick review.

GitHubGitHub
742 stars51 forks0 contributors

What is tf-summarize?

tf-summarize is a command-line utility that parses Terraform plan output and generates a concise summary of resource changes. It helps infrastructure engineers quickly see what resources will be added, changed, or destroyed without reading through lengthy plan logs. The tool supports multiple output formats like tables, trees, JSON, and Markdown for flexible integration into workflows.

Target Audience

Infrastructure engineers, DevOps practitioners, and platform teams who regularly use Terraform for infrastructure provisioning and need to review plan outputs efficiently.

Value Proposition

Developers choose tf-summarize because it dramatically reduces the time spent parsing verbose Terraform plans, provides multiple readable output formats, and integrates seamlessly into CI/CD pipelines. Its ability to work directly with plan files and support for Docker/GitHub Actions makes it a lightweight, versatile addition to any Terraform workflow.

Overview

A command-line utility to print the summary of the terraform plan

Use Cases

Best For

  • Quickly reviewing Terraform plan changes in CI/CD pipelines
  • Generating readable summaries for pull request comments
  • Interactive exploration of infrastructure changes with JSON output
  • Teams managing large Terraform codebases with frequent plan reviews
  • Integrating Terraform plan summaries into automated deployment workflows
  • Visualizing resource change hierarchies with tree output formats

Not Ideal For

  • Projects requiring detailed, line-by-line audit trails of Terraform changes for compliance
  • Teams using Terraform Cloud or Enterprise with built-in plan visualization and review tools
  • Environments where infrastructure changes are rare and verbose plan output is sufficient
  • Non-CLI workflows where GUI-based plan review tools are preferred

Pros & Cons

Pros

Multiple Output Formats

Supports tables, trees, JSON, HTML, and Markdown outputs, as shown in usage examples like `tf-summarize -tree tfplan` for hierarchical views.

Direct Plan Parsing

Accepts Terraform plan files directly or JSON from `terraform show -json`, eliminating manual parsing, evidenced by commands like `tf-summarize tfplan`.

Flexible Deployment Options

Installable via Go, Homebrew, asdf, Docker, and GitHub Actions, making it adaptable to various environments, as detailed in the install section.

CI/CD Integration

Easily embeddable in GitHub Actions and Codefresh pipelines to comment plan summaries in PRs, with example workflows provided in the README.

Interactive Review Capability

Allows piping JSON output to tools like `fx` for interactive exploration, enhancing the review process with commands like `tf-summarize -json tfplan | fx`.

Cons

Missing Direct Execution

Cannot run Terraform plans directly; requires pre-generated plan or JSON files, as noted in the TODO list with 'Directly run the terraform plan and show the summary' still pending.

Docker Limitation

The Docker image lacks Terraform binary, so it only works with JSON files, not raw plan files, requiring an extra conversion step, as mentioned in the Docker install notes.

Dependency on Third-Party Actions

For optimal GitHub Actions integration, it relies on the external `kishaningithub/setup-tf-summarize` action, which adds a dependency that might not be maintained.

Frequently Asked Questions

Quick Stats

Stars742
Forks51
Contributors0
Open Issues17
Last commit7 months ago
CreatedSince 2022

Tags

#hacktoberfest#devops#cli-tool#terraform#infrastructure-as-code#ci-cd#docker#summary#go#github-actions

Built With

G
Go

Included in

Terraform6.3k
Auto-fetched 1 day ago

Related Projects

terraformerterraformer

CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code

Stars14,540
Forks1,837
Last commit7 months ago
InfracostInfracost

Cloud cost intelligence for engineers, AI coding agents, and CI/CD 💰📉 Shift FinOps Left!

Stars12,579
Forks701
Last commit2 days ago
TerragruntTerragrunt

Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu/Terraform to scale.

Stars9,891
Forks1,244
Last commit2 days ago
atlantisatlantis

Terraform Pull Request Automation

Stars9,331
Forks1,360
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub