github minamijoyo/tfupdate v0.1.0

latest releases: v0.8.2, v0.8.1, v0.8.0...
4 years ago

Changelog

0d81214 Bump version to v0.1.0
3122382 Fix invalid pseudo-version caused by go-macaron/cors
e91cbd2 Update go.mod to 1.13
faf338f Build and Release with CircleCI
2142666 Add .goreleaser.yml
8eeb285 Update Go to v1.13.1
d774a1d Add Makefile
5076493 Add ignore-path example to README.md
6d233ff Use TagName because some releases do not have Name
c654f9f Get the latest release version automatically from GitHub Release
f00a15d Update README.md
c4c36de Add release command group which just shows help for subcommands
e3f32a2 Move a version constraint to option flag
d511b3f Simplify the release latest command only for GitHub Release
fe88b2b Change release get to release latest command
2a04fa2 Get the latest release version from GitHub Release
f30ba8a Allow multiple paths to be ignored
e2161f5 Switch hashicorp/hcl2 to hashicorp/hcl/v2
1499b73 Restructure command arguments and options
00bdc08 Add support for ignorePath
30d8883 Move recursive flag to tfupdate.Option
cd07311 Add tmp/ to .gitignore and move test data
071f75c Add debug logs to UpdateFile() and UpdateDir()
f8a29be Update README.md
30f9758 Update README.md
2cccd47 Check if a target is set
a9483e4 Add support for recursive checking of directories
0d8e20c Add UpdateFileOrDir() which updates a given file or directory
8353deb Skip hidden directories such as .terraform or .git
5010efb Add UpdateDir() which updates version constraints for files in a given directory
a62a2e2 Add README.md
5a72e02 Add LICENSE
e599192 Remove verbose error print if err == nil
942aef0 Add format tests to UpdateFile()
ed76388 Add a file not found test to UpdateFile()
57f6087 Use spf13/afero for filesystem testing
f2ce26a Write output stream even if no changes and return whether updated or not
18436e5 Add UpdateHCL tests and remove debug logs
b33dea5 Fix UpdateHCL comments
962cc0e Rename updater.go to update.go
05e6b5b Move UpdateHCL to updater.go
c45d641 Rename update function to UpdateHCL
e4a3930 Write contents back to source file if changed
264031a Change a version constraint from an argument to a flag
6f16007 Change -path flag to -f
f70bd9f Unify version constraints of tfupdate.Option to a target string
232366a Implement a CLI with mitchellh/cli
7a03fa1 Group the set of parameters to update as tfupdate.Option type
0a1264c Set a version to attribute value only if the key exists
bd9fb4b Extract HCL rewrite logic into tfupdate package and updater interface
b264126 Refactoring updateFile() function for easy testing
d2de7f8 Split main into functions
d7aa840 Update github.com/minamijoyo/hcl2@hclwrite-set-attr-in-block
d624cf7 Update go to v1.12.9
bd6e24b Implement a proof of concept
7402e73 Initial commit

Don't miss a new tfupdate release

NewReleases is sending notifications on new releases.