ENHANCEMENTS:
ENHANCEMENTS:
- chore: Update golang.org/x/net to v0.0.0-20220906165146-f3363e06e74c to fix vulnerability (#176)
NEW FEATURES:
- Pass environment variables as "env" (#171)
ENHANCEMENTS:
- Add support for Terraform v1.7 (#166)
- Add support for Terraform v1.8 (#172)
- build: use go1.22 (#169)
ENHANCEMENTS:
- Add support for OpenTofu v1.6 (#165)
Note: If you want to use OpenTofu, a community fork of Terraform, you need to set the environment variable TFMIGRATE_EXEC_PATH
to tofu
.
ENHANCEMENTS:
- Allow use of OpenTofu by setting TFMIGRATE_EXEC_PATH to tofu (#164)
ENHANCEMENTS:
- Add support for Terraform v1.6 (#157)
NEW FEATURES:
- add skip_plan option to state migrator (#152)
ENHANCEMENTS:
- Update actions/checkout to v4 (#155)
- Update test matrix to use latest minor releases of Terraform (#156)
BUG FIXES:
- avoid suppressing errors in deferred funcs (#150)
ENHANCEMENTS:
- exercise Apply during acceptance tests (#149)
NEW FEATURES:
- add replace-provider capability (#145)
ENHANCEMENTS:
- Merge tfmigrate-storage implementation into the tfmigrate repository (#147)
- deps: bump to use go1.21 and fix golangci-lint errors (#148)
NEW FEATURES:
- support conditionally disabling terraform plan-ing (#143)
BUG FIXES:
- Fix a regression issue of error handling in multi_state migration (#141)
ENHANCEMENTS:
- Skip ApplyWithForce test in pre-release (#131)
- Set timeout to 5m for golangci-lint (#132)
- Update actions/setup-go to v4 (#133)
- Update goreleaser-action to v4 (#134)
- Update localstack to v2.0.2 (#135)
- Avoid using terraform init -from-module (#137)
- Add support for Terraform v1.5 (#130)
BUG FIXES:
- Continue to plan to_dir for multi_state if force is true (#139)
ENHANCEMENTS:
NEW FEATURES:
- Add support for multi_state xmv (wildcard expansion) (#121)
ENHANCEMENTS:
- Set TF_CLI_ARGS_apply to --parallelism=1 in sandbox (#113)
- Update Terraform to v1.3.6 (#115)
- Avoid using the AWS provider for acceptance tests (#116)
- Disable fail-fast for matrix tests (#117)
- Download the providers and generate a cache once before testing (#118)
- Avoid using the AWS provider for unit tests (#119)
- Restructure acceptance tests (#120)
NEW FEATURES:
- feature: Allow usage of wildcards for state moves (#111)
ENHANCEMENTS:
- Fix failing import acceptance test (#112)
ENHANCEMENTS:
- Add support for Terraform v1.3 (#109)
- Stop testing with old Terraform v0.13, v0.14, and v0.15 (#110)
- Revert the deprecation of the tfmigrate plan --out=tfplan option (#108)
The tfmigrate plan --out=tfplan option had been deprecated in v0.3.0 because the saved plan file was no longer applicable in Terraform v1.1+. Even though, we found the plan file would still be useful for static analysis such as Conftest. Therefore, we reverted the deprecation and clarify it's intended to use only for static analysis.
NEW FEATURES:
- Support GCS as a history storage (#103)
ENHANCEMENTS:
BUG FIXES:
- Do not reconfigure for cloud backend (#98)
ENHANCEMENTS:
- Set timeout for testacc to 20m (#100)
NEW FEATURES:
- Add --backend-config cli option to tfmigrate plan/apply (#94)
ENHANCEMENTS:
- Add support for Terraform v1.2 (#86)
- Read Go version from .go-version on GitHub Actions (#87)
- docs: update to use the core tap (#93)
- Update Go to v1.17.11 (#95)
- Use a native cache feature in actions/setup-go (#96)
- Use s3_use_path_style instead of s3_force_path_style (#97)
ENHANCEMENTS:
- Update Go to v1.17.8 and Alpine to 3.15 (#78)
- Move storage implementations to a new package (#79)
- Split the storage package into a new separate repository (#80)
- Add a linter for misspell (#81)
- Update golangci-lint to v1.45.2 and actions to latest (#82)
- Update actions/checkout to v3 (#83)
- Set timeout for acceptance tests (#84)
ENHANCEMENTS:
- Support Terraform Cloud as a remote backend in Terraform 1.1.+ with the
cloud
block (#76)
ENHANCEMENTS:
- Use golangci-lint instead of golint (#65)
- Fix lint errors (#66)
- Set paths-ignore for test (#67)
- Add support for server side encryption with a KMS key id for S3 storage (#70)
BREAKING CHANGES:
- Deprecate the tfmigrate plan --out=tfplan option (#63)
Deprecate the tfmigrate plan --out=tfplan option without replacement and it will be removed in a future release. It was based on a bug prior to Terraform 1.1 and doesn't work with Terraform 1.1 or later. Fortunately, Terraform 1.1 added a new moved block feature, so some use-cases could be covered by the moved block.
NEW FEATURES:
- Support workspace for state migrator (#61)
ENHANCEMENTS:
NEW FEATURES:
- Add list command for listing unapplied migrations (#56)
ENHANCEMENTS:
ENHANCEMENTS:
- Log terraform command before run (#55)
- Add an example for integrating tfmigrate with atlantis (#54)
- Add a tip to README for using for_each (#52)
ENHANCEMENTS:
- Remove a positional dir parameter from TerraformCLI (#49)
Note: This changes contains a breaking change for tfexec package, but it doesn't affect tfmigrate CLI users.
ENHANCEMENTS:
BUG FIXES:
- Fix a bug of multi_state doesn't show diffs in to_dir if force=true (#40)
ENHANCEMENTS:
NEW FEATURES:
- Add role_arn to S3StorageConfig (#33)
NEW FEATURES:
- Add a new flag --out for saving a plan file after dry-run migrations (#37)
NEW FEATURES:
- Support workspaces for multi-state migrations (#31)
ENHANCEMENTS:
- Add support for Terraform v1.0 (#28)
All we need was adding Terraform v1.0.0 to a test matrix. This means it works with tfmigrate v0.2.4 as it is.
ENHANCEMENTS:
- Update aws-sdk-go to v1.37.0 to support AWS SSO (#26)
BUG FIXES:
- Create a plugin cache directory in advance (#12)
- Fix CI fail for TestExecutorDir in ubuntu-20.04 (#18)
ENHANCEMENTS:
- Support Terraform v0.15 (#17)
All we need was adding Terraform v0.15.0 to a test matrix. This means it works with tfmigrate v0.2.2 as it is.
ENHANCEMENTS:
- Show diffs in log if force is set to true (#11)
NEW FEATURES:
- Added force option to state and multistate migrations (#10)
ENHANCEMENTS:
- Support Terraform v0.14 (#7)
All we need was adding Terraform v0.14.0 to a test matrix. This means it works with tfmigrate v0.2.0 as it is.
NEW FEATURES:
- Add support for migration history management (#2)
You can now keep track of which migrations have been applied and apply all unapplied migrations in sequence. The migration history can be saved to local
or s3
storage. See the Configurations
section in the README for how to configure it.
If your cloud provider has not been supported yet, feel free to open an issue or submit a pull request. As a workaround, you can use local
storage and synchronize a history file to your cloud storage with a wrapper script.
ENHANCEMENTS:
BUG FIXES:
- Parse a state action string like a shell (#6)
Initial release