Skip to main content

tfcmt

GitHub last commit License

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.

image

You can separate the changes outside of Terraform.

image

You can exclude the log of refreshing state from the plan result.

image

You can clarify the warning of Terraform.

image

Combined with github-comment, you can hide stale comments.

image

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.

image

--

image

Index

What tfcmt does

  1. Parse the execution result of Terraform
  2. Bind parsed results to Go templates
  3. Update pull request labels
  4. Post a comment to GitHub

Blog

Who uses tfcmt?

https://github.com/suzuki-shunsuke/tfcmt#who-uses-tfcmt

License

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