tfcmt
tfcmt is a fork of mercari/tfnotify, enhancing tfnotify in many ways including Terraform >= v0.15 support and advanced formatting options.
tfcmt is a CLI tool to improve the experience of CI of Terraform.
By posting the result of terraform plan
and terraform apply
to GitHub Pull Requests as a comment,
you can know the result quickly without browsing the CI web page.
tfcmt enhances tfnotify in many ways, including Terraform >= v0.15 support and advanced formatting options.
You can separate the changes outside of Terraform.
You can exclude the log of refreshing state from the plan result.
You can clarify the warning of Terraform.
Combined with github-comment, you can hide stale comments.
Instead of hiding stale comments and creating a new comment, you can update existing comment. This is useful to keep the pull request comments clean.
For detail, please see Patch tfcmt plan
comment.
--
Index
What tfcmt does
- Parse the execution result of Terraform
- Bind parsed results to Go templates
- Update pull request labels
- Post a comment to GitHub
Blog
- 2021-12-26 tfcmt - Improve Terraform Workflow with PR Comment and Label
- 2021-12-26 tfcmt で Terraform の CI/CD を改善する
Who uses tfcmt?
https://github.com/suzuki-shunsuke/tfcmt#who-uses-tfcmt
License
License of original code
This is a fork of mercari/tfnotify, so about the origincal license, please see https://github.com/mercari/tfnotify#license .
Copyright 2018 Mercari, Inc.
Licensed under the MIT License.
License of code which we wrote
MIT