Releases: hashicorp/terraform-exec
Releases · hashicorp/terraform-exec
v0.21.0
ENHANCEMENTS:
- tfexec: Add
-allow-deferral
to (Terraform).Apply()
and (Terraform).Plan()
methods (#447)
v0.20.0
ENHANCEMENTS:
- Add JSONNumber option to Show to enable json.Number representation of numerical values in returned tfjson.Plan and tfjson.State values (#427)
v0.19.0
ENHANCEMENTS:
- Add support for
terraform test
command (#398)
- Add support for
-refresh-only
flag for Plan
and Apply
methods. (#402)
- Add support for
-destroy
flag for Apply
(#292)
BUG FIXES:
- Fix bug in which the
TF_WORKSPACE
env var was set to an empty string, instead of being unset as intended. (#388)
v0.18.1
BUG FIXES:
- Fix bug in which errors returned from commands such as
(Terraform).Apply()
were missing stderr output from Terraform. (#372)
v0.18.0
BREAKING CHANGES:
- The following error types have been removed. These errors were based on regex parsing of Terraform CLI's human-readable output into custom error cases. (#352)
ErrConfigInvalid
ErrLockIdInvalid
ErrMissingVar
ErrNoConfig
ErrNoInit
ErrNoWorkspace
ErrStateLocked
ErrStatePlanRead
ErrTFVersionMismatch
ErrWorkspaceExists
ENHANCEMENTS:
- tfexec: Add
(Terraform).ApplyJSON()
, (Terraform).DestroyJSON()
, (Terraform).PlanJSON()
and (Terraform).RefreshJSON()
methods (#354)
- tfexec: Add
(Terraform).MetadataFunctions()
method (#358)
v0.17.3
Please note that terraform-exec now requires Go 1.18.
BUG FIXES:
- Fix bug in which terraform init was always called with the -force-copy flag (#268)
- Always pass -no-color flag when calling terraform force-unlock (#270)
v0.17.2
ENHANCEMENTS:
- tfexec: Add
(Terraform).SetLogCore()
and (Terraform).SetLogProvider()
methods (#324)
INTERNAL:
- Bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#323)