tf-summarize is a command-line utility written in Go that simplifies the interpretation of Terraform execution plans. It converts extensive infrastructure change descriptions into concise summaries of affected resources. The application categorizes proposed operations, including resource creation, modification, deletion, and replacement. Users can examine changes through tabular displays or hierarchical tree representations. It accepts native Terraform plan files and JSON-formatted plan data, including content supplied through standard input. Multiple output formats support documentation generation and automated infrastructure reviews. Integration with GitHub Actions and other continuous integration platforms helps development teams evaluate proposed infrastructure changes before deployment.
Features
- Concise Terraform plan summaries with categorization of proposed resource changes
- Support for native Terraform plan files and JSON-formatted execution plans
- Tabular and hierarchical tree views for visualizing infrastructure modifications
- Separate resource trees for additions, deletions, modifications, and replacements
- HTML, Markdown, and JSON output with configurable file destinations
- GitHub Actions and continuous integration support for automated infrastructure reviews