This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.11.0 #18
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/suzuki-shunsuke-tfcmt-4.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.0.1
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.1.0
Feb 1, 2023
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
February 1, 2023 11:51
f361a37
to
ecb7bdb
Compare
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
February 21, 2023 17:47
ecb7bdb
to
0296cf2
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.1.0
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.2.0
Feb 21, 2023
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.2.0
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.4.1
May 28, 2023
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
May 28, 2023 11:24
0296cf2
to
8612295
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.4.1
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.4.2
Jun 24, 2023
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
June 24, 2023 07:33
8612295
to
fbd425b
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.4.2
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.4.3
Jul 27, 2023
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
July 27, 2023 17:26
fbd425b
to
632bcce
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.4.3
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.5.0
Sep 2, 2023
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
September 2, 2023 03:43
632bcce
to
cae4449
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.5.0
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.5.1
Sep 10, 2023
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
September 10, 2023 07:14
cae4449
to
243c29c
Compare
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
September 21, 2023 12:15
243c29c
to
c212c3f
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.5.1
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.6.0
Sep 21, 2023
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
October 8, 2023 01:15
c212c3f
to
14d1bfa
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.6.0
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.6.1
Oct 8, 2023
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.6.1
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.7.0
Oct 8, 2023
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
October 8, 2023 17:00
14d1bfa
to
fc2d401
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.7.0
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.7.1
Oct 11, 2023
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
October 11, 2023 03:43
fc2d401
to
fd0df24
Compare
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
December 8, 2023 00:40
fd0df24
to
9debe64
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.7.1
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.7.2
Dec 8, 2023
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.7.2
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.7.3
Dec 18, 2023
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
December 18, 2023 13:34
9debe64
to
d4314ef
Compare
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
December 27, 2023 14:00
d4314ef
to
078b205
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.7.3
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.8.0
Dec 27, 2023
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
February 1, 2024 08:24
078b205
to
aa22de9
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.8.0
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.9.0
Feb 1, 2024
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
May 10, 2024 01:33
aa22de9
to
2b469d9
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.9.0
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.9.1
May 10, 2024
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
June 2, 2024 03:58
2b469d9
to
60de889
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.9.1
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.10.0
Jun 2, 2024
renovate
bot
force-pushed
the
renovate/suzuki-shunsuke-tfcmt-4.x
branch
from
July 14, 2024 03:41
60de889
to
a9b8136
Compare
renovate
bot
changed the title
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.10.0
chore(deps): update dependency suzuki-shunsuke/tfcmt to v4.11.0
Jul 14, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v4.0.0
->v4.11.0
Release Notes
suzuki-shunsuke/tfcmt (suzuki-shunsuke/tfcmt)
v4.11.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@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
v4.10.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.9.1...v4.10.0
Features
#1294 plan: Support disabling labels by a command line option and environment variable
Added a command line option
-disable-label
and an environment variableTFCMT_DISABLE_LABEL
. If they are set,tfcmt plan
doesn't set labels.export TFCMT_DISABLE_LABEL=true tfcmt plan -- terraform plan
Fixes
#1295 validate if command is specified
tfcmt plan
andtfcmt apply
require command to be executed.So this pull request adds a validation if command is specified.
If no command is specified, tfcmt plan and apply return an error immediately.
Others
#1292 #1293 Improve the help message
v4.9.1
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.9.0...v4.9.1
Fix
#1187 #1257 #1258 Exit commands with non zero exit code if any error such as API rate limit happens
This update changes the exit code of tfcmt when an error happens.
The exit code was same with the exit code of
terraform plan
andterraform apply
.This means tfcmt might have exited with zero even if tfcmt failed to post a comment due to some reason such as API rate limit.
This was not a bug but a expected behavior.
But this behaviour was dangerous because people might have missed unexpected changes.
So this update changes the behaviour as tfcmt exits with non zero if any error such as API rate limit happens.
v4.9.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.8.0...v4.9.0
Features
#1083 #1115 Support masking sensitive data
You can mask sensitive data in outputs of terraform.
This feature prevents the leak of sensitive data.
The following outputs are masked.
tfcmt plan
andtfcmt apply
--output
optionYou can use environment variables
TFCMT_MASKS
andTFCMT_MASKS_SEPARATOR
.TFCMT_MASKS
: A list of masks. Masks are joined byTFCMT_MASKS_SEPARATOR
TFCMT_MASKS_SEPARATOR
: A separator of masks. The default value is,
The format of each mask is
${type}:${value}
.${type}
must be eitherenv
orregexp
.If
${type}
isenv
,${value}
is a masked environment variable name.If
${type}
isregexp
,${value}
is a masked regular expression.e.g. Mask GitHub access tokens and the environment variable
DATADOG_API_KEY
.e.g. Change the separator to
/
.All matching strings are replaced with
***
.Replacements are done in order of
TFCMT_MASKS
, so the result depends on the order ofTFCMT_MASKS
.For example, if
TFCMT_MASKS
isregexp:foo,regexp:foo.*
,regexp:foo.*
has no meaning because allfoo
are replaced with***
before replacingfoo.*
with***
sofoo.*
doesn't match with anything.Example
This example creates a resource google_cloudbuild_trigger.
This resource has a GitHub Access token as a field
substitutions._GH_TOKEN
.main.tf
If you run
terraform plan
without masking, the secret would be leaked.To prevent the leak, let's mask the secret.
Please see
_GH_TOKEN
in the output oftfcmt plan
and the pull request comment.You can confirm
_GH_TOKEN
is masked as***
properly.Terraform sensitive input variables and outputs and sensitive function
Terraform itself has features to prevent sensitive data from being leaked.
So first you should use these features.
But even if these features are available, it still makes sense for tfcmt to mask sensitive data.
Please imagine the situation that platform engineers manage Terraform workflows and product teams manage Terraform codes in a Monorepo.
Then platform engineers need to prevent sensitive data from being leaked, but if product teams forget to protect them with
sensitive
flags, sensitive data would be leaked.By protecting sensitive data using tfcmt, platform engineers can prevent sensitive data from being leaked while delegating the management of Terraform codes to product teams.
tfcmt's masking feature works as a guardrail.
v4.8.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.7.3...v4.8.0
Features
#1090 #1091 Support passing GitHub Access token via the environment variable
TFCMT_GITHUB_TOKEN
In addition to the environment variable
GITHUB_TOKEN
, tfcmt supports the environment variableTFCMT_GITHUB_TOKEN
too.v4.7.3
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.7.2...v4.7.3
Bug Fixes
#1073 Fix a bug code blocks are broken if "```" are used in the command output @jemiam
New Contributor 🎉
Thank you for your contirbution!
@jemiam #1073
v4.7.2
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.7.1...v4.7.2
Fixes
#1061 #1062 Change the default template to fix the issue that emojis aren't rendered
Recently, some emojis in tfcmt's comments aren't rendered properly.
We guess this is a bug of GitHub itself.
We found the bug doesn't occur if we remove emojis from the end of lines.
Before
After
Until the bug will be fixed, we'll remove emojis from the end of lines.
Others
Update dependencies
#1058 chore(deps): update dependency golang/go to v1.21.5
v4.7.1
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.7.0...v4.7.1
Others
#959 chore(deps): update dependency golang/go to v1.21.3
#960 fix(deps): update module github.com/google/go-cmp to v0.6.0
v4.7.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.6.1...v4.7.0
#955 #956 Support OpenTofu
We roughly checked if tfcmt worked with OpenTofu, then we fixed some issues that tfcmt didn't work with OpenTofu.
We tested tfcmt with OpenTofu v1.6.0-alpha2.
tfcmt seems to work with OpenTofu.
You can simply replace Terraform CLI with OpenTofu CLI.
But we didn't check deeply. We just checked roughly.
And we don't promise OpenTofu Support for now.
We primary support Terraform.
v4.6.1
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.6.0...v4.6.1
Others
#952 Fix Go Module Path
This update fixes the issue that tfcmt can't be installed by
go install
.As of v4.6.1, you can install tfcmt by
go install
.#947 Update Go 1.21.1 to 1.21.2
#890 Update github.com/google/go-github/v53 to v55
Addressed go-github's breaking changes.
#711 Update dependency golangci/golangci-lint to v1.54.2
Fixed lint errors.
v4.6.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.5.1...v4.6.0
Features
#930 #932 List imported or moved resources even if they are changed or replaced
tfcmt v4.5.0 now lists imported or moved resources, but doesn't list them if they are changed or replaced.
This release enables to list imported or moved resources even if they are changed.
v4.5.1
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.5.0...v4.5.1
Bug Fixes
terraform plan
's-no-color
option--output
: List imported and moved resourcesFix parse errors when only Outputs will be changed
#117 #896 (#904 #909 #910)
tfcmt ever couldn't parse the output of terraform plan if only Terraform's Outputs will be changed.
e.g.
As of tfcmt v4.5.1, tfcmt can parse the output properly.
Support parsing errors and warnings without
terraform plan
's-no-color
option#903 #911
tfcmt ever couldn't parse errors and warnings without
terraform plan
's-no-color
option because they start with|
.e.g.
As of tfcmt v4.5.1, tfcmt supports parsing warnings and errors even if the
-no-color
option isn't set.--output
: List imported and moved resources#907
Follow up #881 and #884
https://github.com/suzuki-shunsuke/tfcmt/releases/tag/v4.5.0
https://suzuki-shunsuke.github.io/tfcmt/output-file
Fix the title by error messages
#906
tfcmt changes the title by the result of terraform commands
Success
Failure
tfcmt evers checked only the exit code of terraform commands,
but as of tfcmt v4.5.1, tfcmt checks also if terraform commands outputs errors.
This is useful when you outputs terraform commands to a text file and runs tfcmt.
e.g.
Contributors
Thank you for your contribution!
#896 @taro-kayo
v4.5.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.4.3...v4.5.0
Features
#880 #881 Add moved resources to the list of changed resources
#882 #884 Add imported resources to the list of changed resources
Add the template variables
MovedResources
andImportedResources
, which is a list of imported resources.e.g.
Add the list of moved resources and imported resources to the built in template
updated_resources
.If you use the default template, you don't have to do anything because the moved resources and imported resources are added to the default template.
Others
#855 #862 Upgrade Go v1.20.6 to v1.21.0
v4.4.3
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.4.2...v4.4.3
Others
#850 refactor: Replace suzuki-shunsuke/go-timeout to exec.CommandContext, Cmd.Cancel, and Cmd.WaitDelay
#833 #842 Update Go 1.20.1 to 1.20.6
v4.4.2
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.4.1...v4.4.2
Fixes
#823 #824 Fix summaries of tainted resources
#829 #831 Fix summaries of resources replaced by terraform's -replace options
tfcmt parses the output of terraform and outputs the list of replaced resources as the following.
But tfcmt didn't parse the output of terraform well and the above list wasn't outputted properly when some resources were replaced by terraform's taint command or
-replace
option.This release fixes the bug.
v4.4.1
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.4.0...v4.4.1
Fixes
#795 Propagate the signal such as SIGINT to terraform command properly for graceful shutdown
exec.CommandContext exits a command by SIGKILL immediately, so the command can't exit gracefully. So let's use suzuki-shunsuke/go-timeout instead.
go-timeout exits a command by SIGINT gracefully.
Reference
Test
hello.sh
AS IS
echo trapped.
isn't executed.TO BE
echo trapped.
is executed.v4.4.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.3.0...v4.4.0
Features
#773 #774 Support skipping the post of a comment if the result of
terraform plan
has no changehttps://suzuki-shunsuke.github.io/tfcmt/skip-no-changes
You can skip posting a comment if there is no change using the command line option
-skip-no-changes
or configuration fielddisable_comment
.e.g.
$ tfcmt plan -skip-no-changes -- terraform plan
tfcmt.yaml
If the option is set,
tfcmt plan
adds or updates a pull request label but doesn't post a comment if the result ofterraform plan
has no change and no warning.Even if there are no comment, the pull request label lets you know the result.
This feature is useful when you want to keep pull request comments clean.
v4.3.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.2.0...v4.3.0
Features
v4.2.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.1.0...v4.2.0
Features
#194 #654 #662 Support outputting the result to a local file @NikitaCOEUR 🎉 New Contributor
https://suzuki-shunsuke.github.io/tfcmt/output-file
A command line option
--output
has been added.If this option is set,
tfcmt
outputs the result to a local file instead of posting a comment to GitHub pull request.tfcmt plan:
$ tfcmt --output plan.md plan -- terraform plan
tfcmt apply:
$ tfcmt --output apply.md apply -- terraform apply
If a specified file doesn't exist, the file is created.
If the file already exist, the file content is appended.
💡 If you want to overwrite the file content instead of appending, please make the file empty before running tfcmt.
e.g.
Metadata isn't embedded.
v4.1.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.0.1...v4.1.0
Features
#623 #624 Add
disable_label
config per result type @dtan4Others
#626 Update go-github to v50
v4.0.1
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v4.0.0...v4.0.1
Others
#580 Release SLSA Provenance and sign checksum files by Cosign
#580 Update Go from 1.19.1 to 1.19.4
#581 Update go-github from v43 to v49
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.