tfupdate

Update version constraints in your Terraform configurations

MIT License

Downloads
100
Stars
505
Committers
8

Bot releases are hidden (Show)

tfupdate - v0.5.1

Published by minamijoyo over 3 years ago

Changelog

0daf252 Bump version to v0.5.1
f5a46c4 Allow to parse the configuration_aliases syntax in Terraform v0.15

tfupdate - v0.5.0

Published by minamijoyo over 3 years ago

Changelog

e8d4f20 Bump version to v0.5.0
617f0ab Hide pre-releases by default in the release list command
90cb43b Add tests for release.Latest() and release.List()
c8f17aa Extract source type independent logic from the Release interface into methods
2d88c49 Sort releases in semver order
e1e7795 Update alpine to v3.12
a67221c Update hcl to v2.10.0
8b0d36b Update Go to v1.16.3

tfupdate - v0.4.3

Published by minamijoyo almost 4 years ago

Changelog

deb6d6e Bump version to v0.4.3
36cbd89 Fix unexpected broken parentheses expression
caf0670 Prevent uploading pre-release to Homebrew

tfupdate - v0.4.2

Published by minamijoyo about 4 years ago

Changelog

54ef0da Bump version to v0.4.2
33f679a Add a warning to -s tfregistryProvider as an experimental feature
dbb81cc Add support for getting release versions of a provider from the terraform registry Make clear in comments that we rely on a currently undocumented providers API endpoint to retrieve provider version from terraform registry
d05cfdd gitignore .vscode
d1a527b Ignore case for log level passed in TFUPDATE_LOG environment variable

tfupdate - v0.4.1

Published by minamijoyo over 4 years ago

Changelog

1ae32f4 Bump version to v0.4.1
811eaf2 Use static link on build for alpine compatible

tfupdate - v0.4.0

Published by minamijoyo over 4 years ago

Changelog

0b02b10 Bump version to v0.4.0
b1f7dcf go mod tidy
eec2844 Rename attributeToValue to getAttributeValue and add tests
96e2922 Preserve sort order and comments inside object for required_providers syntax
13c1593 Support a new required_providers object syntax
f3f727f Update Go to v1.14.4

tfupdate - v0.3.6

Published by minamijoyo over 4 years ago

Changelog

2a16c92 Bump version to v0.3.6
272a351 Update github.com/hashicorp/hcl/[email protected]

tfupdate - v0.3.5

Published by minamijoyo over 4 years ago

Changelog

738b2af Bump version to v0.3.5
414d1de Ignore updating README and CHANGELOG from release notes
0286b6f Fix comments
6f64ebd Add release list command to README
965d140 Fix sort order of release list results to be consistent across source types
7127c70 Add release list for Terraform Registry Module
bf2e533 Use versions in the response of latest instead of list versions
8afaee6 Add ModuleListVersionsForProvider to tfregistry
66aba94 Add support of release list for GitLab
a55e235 Add release list for GitHub

tfupdate - v0.3.4

Published by minamijoyo over 4 years ago

Changelog

59a8f10 Bump version to v0.3.4
8339a87 Fix typo
3ae09d6 Update CHANGELOG
0bfe668 Fix typo
6827216 Add more test to ModuleLatestForProvider and fix its error handling
83c1dc7 Include slashes for later implementation of service discovery
09d0d46 Fix comments
1c7f717 Simplify error messages in TFRegistry API call
69ff078 Add support for Terraform Registry Module as a release data source
77e3c1b Add TFRegistryModuleRelease for checking from Terraform Registry
a258f3d Implement a simple Terraform Registry API client
da1f942 Update CHANGELOG

tfupdate - v0.3.3

Published by minamijoyo almost 5 years ago

Changelog

093fda7 Bump version to v0.3.3
e117369 Update CHANGELOG
0b8fbeb Fix test should not be panic even if a map index is a variable reference
8c6d7cd Update hashicorp/hcl to v2.3.1
edbdaf2 Update CHANGELOG

tfupdate - v0.3.2

Published by minamijoyo almost 5 years ago

Changelog

99afc4b Bump version to v0.3.2
2aab5ca Update CHANGELOG
628ff2b Add test for no release and annotate tests
5761c67 Add sensible error message for project with no releases
ac47417 Increase test coverage
14e0461 Update README with GitLab information
b550a8e Add test for gitlab
bd78738 Separate third party imports
1c5c505 more helpful error message for failed token
3557313 use context in request
c9e0f7e Get last release from GitLab project
13ad308 Add support for Gitlab in command
cdcd55c add gitlab to mod file
4198f01 wip: start building gitlab integration based on new release interface
c9c9a70 WIP: Include gitlab in release latest command
e4b628d Add func SetGitLabURL
f407a0d go fmt
a627313 Add GitLab API support to release
ac72096 Add a link to masutaka/circleci-tfupdate-orb
5ebe187 Update CHANGELOG

tfupdate - v0.3.1

Published by minamijoyo almost 5 years ago

Changelog

8d7b365 Bump version to v0.3.1
3bd8006 Update CHANGELOG
3e736ac Update README
f621c6d Add how to access private repositories to README
b02a9fb Add support for GitHub private repository
fe5d608 Read GitHub configurations from environment variables
3633627 Inject a context from outside of the release package
e31c5e5 Add abstraction layer of GitHub API for testing with mock
cfedc3f Allow to switch a type of release data source
5f37eb1 Fix instruction for building from source
403d370 Update CHANGELOG

tfupdate - v0.3.0

Published by minamijoyo almost 5 years ago

Changelog

d0a292b Bump version to v0.3.0
90dab27 Update README.md
8a36c1a Add CHANGELOG.md
7f9d451 Add module command
d184dda Add support for updating module version in the source reference
a269639 Add support for updating simple module
1cb40e4 Allow selecting all matching blocks by type regardless of lables

tfupdate - v0.2.1

Published by minamijoyo almost 5 years ago

Changelog

51faf75 Bump version to v0.2.1
1a090c4 Fix typo in PROVIDER_NAME argument documentation
38e0359 go mod tidy
7bc9a9c Update hcl2
74f788a Update README
b93de6f Update hcl2

tfupdate - v0.2.0

Published by minamijoyo almost 5 years ago

Changelog

1da5cc0 Bump version to v0.2.0
0fa2fdd Fix unstable tests for duplicated blocks
0140222 Recover from panic in hclwrite.ParseConfig
abfecec Check all matching blocks if duplicated terraform/provider blocks exist
a550b3f Show number of arguments if the command got unexpected arguments
7157c4b Add a license budge
d51e7bf Update README
1614125 Add an example for tfupdate on CircleCI
4a359a7 Add bash to Dockerfile for scripting on CI
64432d6 Add required tools for primary containers on CircleCI to Dockerfile

tfupdate - v0.1.4

Published by minamijoyo almost 5 years ago

Changelog

ee58c71 Bump version to v0.1.4

tfupdate - v0.1.3

Published by minamijoyo almost 5 years ago

Changelog

ac14a24 Update README.md
e02756b Add git and hub to Dockerfile
39b0c58 Update README.md

tfupdate - v0.1.2

Published by minamijoyo almost 5 years ago

Changelog

164140f Bump version to v0.1.2
5ada632 Use circleci/golang:1.13 on CircleCI

tfupdate - v0.1.0

Published by minamijoyo about 5 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

Package Rankings
Top 3.65% on Proxy.golang.org
Top 26.51% on Formulae.brew.sh
Top 7.38% on Alpine-edge
Badges
Extracted from project README
License: MIT GitHub release GoDoc
Related Projects