Releases: hashicorp/terraform-exec
Releases · hashicorp/terraform-exec
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)