Overview of tfcmt for Terraform CI
tfcmt is a CLI tool designed to improve the Terraform CI experience by posting the results of terraform plan and terraform apply directly as comments on GitHub Pull Requests. It is a fork of mercari/tfnotify and provides several enhancements, including support for Terraform v0.15 and above, advanced formatting options, and the ability to exclude state refresh logs from plan results.
Key capabilities include:
- Parsing Terraform execution results.
- Binding parsed results to Go templates for customizable output.
- Updating GitHub Pull Request labels based on the plan/apply results.
- Posting or updating comments on GitHub PRs to keep the conversation clean.