Releases: hashicorp/terraform-exec
Releases · hashicorp/terraform-exec
v0.13.0
v0.12.0
BREAKING CHANGES:
- Move Git ref installation to subpackage so that consumers can limit dependencies (#98)
FEATURES:
- Improve error handling for formatting command on unsupported version (
<0.7.7
) (#88) - Introduce
Format
method withio.Reader
/io.Writer
interfaces (#96) - Introduce
Validate
method withtfjson
defined diagnostic types. Those types reflect exactly the types used interraform validate -json
output (#68) - Introduce
StateMv
method (#112) - Introduce
Upgrade012
method (#105)
BUG FIXES:
v0.11.0
FEATURES
- Added Terraform fmt support with the ability to format and write files/folders, check if files/folders need formatting, and format strings directly (#82)
- Added support for refs in the tfinstall CLI (#80)
N.B. tfinstall binaries for all supported platforms are now available via GitHub Releases.
v0.10.0
v0.9.0
BREAKING
context.Context
added totfinstall.Find
to allow for cancellation, timeouts, etc (#51)- You can no longer use
TF_WORKSPACE
for workspace management, you must useTerraform.WorkspaceSelect
(#75)
FEATURES
- Add
ErrWorkspaceExists
for when workspaces with the same name already exist when callingTerraform.WorkspaceNew
(#67) - Added
tfinstall.GitRef
to support installation of Terraform from a git ref instead of by released version (#51) - Created the tfinstall CLI utility (this is mostly for use in things like CI automation) (#29)
- Added
ReattachOption
for plugin reattach functionality (#78)
v0.8.0
BREAKING
- Add
-detailed-exit-code
toTerraform.Plan
calls,Terraform.Plan
now also returns a bool indicating if any diff is present (#55)
FEATURES
- Added
Terraform.SetAppendUserAgent
for User-Agent management from consuming applications (#46) - Added
Terraform.WorkspaceList
,Terraform.WorkspaceNew
, andTerraform.WorkspaceSelect
along with theErrNoWorkspace
error to indicate a workspace does not exist (#56) - Added support for using multiple
VarFile
options (#61)
BUG FIXES
- Fix bug with checking for empty path before executing version command (#62)
v0.7.0
FEATURES
- Added
Terraform.Refresh
method (#53) - Added
Terraform.ShowStateFile
andTerraform.ShowPlanFile
(#54) - Added support for
DIR
positional arg in init, destroy, and plan (#52) - Relaxed logger interface (#57)
- Added error for missing required variable (#57)
BUG FIXES
- Fixed logging issue for error cmd (#57)