Releases: suzuki-shunsuke/tfmv
v0.2.5
Pull Requests | Issues | v0.2.4...v0.2.5
🐛 Bug Fixes
#68 Fix a typo in the help message
#96 Fix a bug that a leading newline is added to new created moved block files
v0.2.4
Pull Requests | Issues | v0.2.3...v0.2.4
Fixes
#39 Change the log level from info to debug
Info log was messy, so we changed the log level to debug
v0.2.3
Pull Requests | Issues | v0.2.2...v0.2.3
Others
v0.2.2
v0.2.1
Pull Requests | Issues | v0.2.0...v0.2.1
Features
#26 #28 Output a summary of changes
tfmv outputs a summary of changes in JSON format to stdout
$ tfmv -Rr '-/_'
{
"changes": [
{
"dir": "regexp",
"address": "github_repository.example-1",
"new_address": "github_repository.example_1"
},
{
"dir": "bar",
"address": "github_repository.example-1",
"new_address": "github_repository.example_1"
},
{
"dir": "foo/nest",
"address": "null_resource.foo-prod",
"new_address": "null_resource.foo_prod"
},
{
"dir": ".",
"address": "github_repository.example-1",
"new_address": "github_repository.example_1"
}
]
}
#31 Validate new names
#25 Support renaming resources by regular expression
The option --regexp
is added:
tfmv --regexp '^example-(\d+)/test-$1'
About regular expression, please see the following document:
#24 Support filtering resources using regular expression
Options --include
and --exclude
are added:
tfmv -r "-/_" --include "^aws_"
tfmv -r "-/_" --exclude "^aws_"
Fixes
#29 Fix references in files other than given files
#27 Fix a bug that references are modified with --dry-run
v0.2.0
Pull Requests | Issues | v0.1.4...v0.2.0
⚠️ Breaking Changes
The short flag of --recursive
is changed from -r
to -R
tfmv -R # --recursive
Features
Add a short flag for --replace
tfmv -r "-/_" # --replace
v0.1.4
v0.1.3
Pull Requests | Issues | v0.1.2...v0.1.3
🐛 Bug Fixes
#12 Fix a bug that moved blocks for modules are broken
v0.1.2
Pull Requests | Issues | v0.1.1...v0.1.2
Features
#9 Support --replace
option
e.g. Replace -
with _
:
tfmv --replace "-/_"
v0.1.1
Pull Requests | Issues | v0.1.0...v0.1.1
Others
#8 Fix a bug that tfmv can't be installed by Homebrew
#7 bc7267a build(deps): bump golang.org/x/crypto from 0.17.0 to 0.31.0