A CLI tool written in Go that profiles Terraform runs to provide detailed statistics, resource-level metrics, and visualizations.
tf-profile is a CLI tool written in Go that profiles Terraform runs by analyzing execution logs. It extracts performance metrics, resource-level statistics, and generates visualizations to help users understand and optimize their infrastructure deployments. The tool addresses the need for deeper insights into Terraform apply operations beyond standard log output.
Infrastructure engineers, DevOps practitioners, and platform teams who use Terraform for managing cloud resources and want to analyze run performance and behavior.
Developers choose tf-profile because it provides a specialized, lightweight way to gain actionable insights from Terraform logs without additional instrumentation. Its unique selling point is the combination of statistical summaries, detailed resource tables, and visual Gantt-like charts from standard Terraform output.
CLI tool to profile Terraform runs, written in Go
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Built with the cobra library, it offers autocomplete and a structured command setup, making it user-friendly as shown in the installation and help examples.
Reads logs directly from Terraform via pipe or from files, enabling seamless integration into workflows, demonstrated in the basic usage section.
Provides multiple commands for global stats, resource-level details, and visualizations, offering granular insights into Terraform runs, evident from the stats, table, and graph features.
Each command has a detailed reference page, and it's featured on awesome-go and awesome-terraform, indicating good documentation and community recognition.
The README explicitly warns that development has stopped, with no support for newer Terraform versions, making it risky for long-term use.
Graph generation requires Gnuplot, an additional installation that adds complexity and may not be available in all environments.
As admitted in the disclaimer, the Gantt charts only show order, not actual durations, reducing their utility for accurate performance analysis.
Focuses solely on log analysis without features like historical run comparison or integration with CI/CD pipelines, limiting broader use cases.