Releases: suzuki-shunsuke/tfcmt
v4.14.4-0
v4.14.3
v4.14.2
v4.14.1
Pull Requests | Issues | v4.14.0...v4.14.1
This release is to pin JSON Schema version.
v4.14.0
Pull Requests | Issues | v4.13.0...v4.14.0
Features
#1423 #1425 plan: Add the option -ignore-warning
We've Added the option -ignore-warning to the tfcmt plan command.
You can also configure this option in your configuration file.
terraform:
  plan:
    ignore_warning: trueBy default, tfcmt emphasizes the warning of terraform plan, and the option -skip-no-changes is ignored if terraform plan outputs warning.
This is because we think warning should not be ignored.
But actually we're aware that some users ignore warning normally and they feel warning is noisy.
In this case, it's desirable that tfcmt plan -skip-no-changes doesn't post a comment even if warning is outputted.
So this pull request introduces a new option -ignore-warning.
If terraform plan outputs warning, this option makes the template variable .Warning empty, removing the warning from the default template.
If terraform plan -skip-no-changes has no change and outputs warning, this option disables to post a comment.
#1425 plan: Bind some environment variables to options
- TFCMT_PLAN_PATCH
- TFCMT_SKIP_NO_CHANGES
- TFCMT_IGNORE_WARNING
Others
#1417 Update Go 1.22.6 to 1.23.1
#1409 Create GitHub Artifact Attestations
https://github.com/suzuki-shunsuke/tfcmt/attestations
You can verify downloaded assets from GitHub Releases using GitHub CLI.
# Download assets from GitHub Releases.
gh release download -R suzuki-shunsuke/tfcmt v4.14.0 -p tfcmt_darwin_arm64.tar.gz
# Verify an asset.
gh attestation verify tfcmt_darwin_arm64.tar.gz \
  -R suzuki-shunsuke/tfcmt \
  --signer-workflow suzuki-shunsuke/go-release-workflow/.github/workflows/release.yamlv4.14.0-1
v4.13.0
Pull Requests | Issues | v4.12.0...v4.13.0
Features
#1365 Update the template function wrapCode to output the warning when the content is omitted
wrapCode omits the content if it is too long.
#227 https://github.com/suzuki-shunsuke/tfcmt/releases/tag/v3.1.0
# ...
# ... The maximum length of GitHub Comment is 65536, so the content is omitted by tfcmt.
# ...
But this behaviour is a bit confusing.
This release updates wrapCode to output the warning when the content is omitted.

v4.12.0
Pull Requests | Issues | v4.11.0...v4.12.0
Features
#1355 Get GitHub API endpoints from environment variables GITHUB_API_URL and GITHUB_GRAPHQL_URL in GitHub Actions
v4.11.0
Pull Requests | Issues | v4.10.0...v4.11.0
Features
#1336 #1339 Post comments to a pull request if the workflow run is triggered via GitHub Actions' merge_group event
Others
Update Go to 1.22.5
