Skip to content

v4.14.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 04 Oct 01:31
· 38 commits to main since this release
v4.14.0
13b3b64

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: true

By default, tfcmt emphasizes the warning of terraform plan, and the option -skip-no-changes is ignored if terraform plan outputs warning.

image

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.yaml