Releases: hashicorp/terraform-exec
Releases · hashicorp/terraform-exec
v0.23.0
ENHANCEMENTS:
- Context cancellation on Unix systems will now send Terraform process SIGINT instead of killing it (which is otherwise default
os/exec
behaviour) (#512)- You can change the default
60s
WaitDelay
viaSetWaitDelay(time.Duration)
- You can change the default
- error type returned from individual commands now implements
Unwrap
making it possible to pass it intoerrors.As
and access lower-level error such asexec.ExitError
(#512)
NOTES:
v0.22.0
v0.21.0
v0.20.0
v0.19.0
ENHANCEMENTS:
- Add support for
terraform test
command (#398) - Add support for
-refresh-only
flag forPlan
andApply
methods. (#402) - Add support for
-destroy
flag forApply
(#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
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: