Releases: hashicorp/terraform-exec
Releases · hashicorp/terraform-exec
v0.25.0
NOTES:
ENHANCEMENTS:
- tfexec: Added provider reattach support to all
terraform workspacesubcommands (#556) - tfexec: Add
-generate-config-outto the(Terraform).Plan()method (#563) - Add support for
providers mirrorsubcommand (#551)
DEPENDENCIES:
- build(deps): bump golang.org/x/crypto from 0.36.0 to 0.45.0 (#547)
- build(deps): bump github.com/hashicorp/go-version from 1.7.0 to 1.8.0 (#552)
- build(deps): bump github.com/hashicorp/hc-install from 0.9.2 to 0.9.3 (#566)
- build(deps): bump github.com/hashicorp/terraform-json from 0.27.1 to 0.27.2 (#542)
- build(deps): bump github.com/zclconf/go-cty from 1.16.4 to 1.17.0 (#535)
v0.24.0
v0.23.1
BUG FIXES:
- Avoid closing stdio pipes early on graceful (SIGINT-based) cancellation (#527)
- This enables correct handling of graceful cancellation for recent versions of Terraform (1.1+). Older versions should use
SetEnableLegacyPipeClosing(true)to avoid hanging on cancellation.
- This enables correct handling of graceful cancellation for recent versions of Terraform (1.1+). Older versions should use
INTERNAL:
v0.23.0
ENHANCEMENTS:
- Context cancellation on Unix systems will now send Terraform process SIGINT instead of killing it (which is otherwise default
os/execbehaviour) (#512)- You can change the default
60sWaitDelayviaSetWaitDelay(time.Duration)
- You can change the default
- error type returned from individual commands now implements
Unwrapmaking it possible to pass it intoerrors.Asand 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 testcommand (#398) - Add support for
-refresh-onlyflag forPlanandApplymethods. (#402) - Add support for
-destroyflag forApply(#292)
BUG FIXES:
- Fix bug in which the
TF_WORKSPACEenv 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)
ErrConfigInvalidErrLockIdInvalidErrMissingVarErrNoConfigErrNoInitErrNoWorkspaceErrStateLockedErrStatePlanReadErrTFVersionMismatchErrWorkspaceExists
ENHANCEMENTS: