Skip to content

Releases: hashicorp/terraform-exec

v0.9.0

09 Sep 19:12
Compare
Choose a tag to compare

BREAKING

  • context.Context added to tfinstall.Find to allow for cancellation, timeouts, etc (#51)
  • You can no longer use TF_WORKSPACE for workspace management, you must use Terraform.WorkspaceSelect (#75)

FEATURES

  • Add ErrWorkspaceExists for when workspaces with the same name already exist when calling Terraform.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

29 Aug 18:38
Compare
Choose a tag to compare

BREAKING

  • Add -detailed-exit-code to Terraform.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, and Terraform.WorkspaceSelect along with the ErrNoWorkspace 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

20 Aug 14:58
Compare
Choose a tag to compare

FEATURES

  • Added Terraform.Refresh method (#53)
  • Added Terraform.ShowStateFile and Terraform.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)

v0.6.0

14 Aug 18:39
Compare
Choose a tag to compare

0.6.0 (August 14, 2020)

FEATURES

  • Added Terraform.SetStdout and Terraform.SetStderr to let consumers log CLI output (#49)

BUG FIXES

  • Fixed miscategorization of ErrNoInit on Terraform 0.13 (#48)

v0.5.0

14 Aug 12:53
Compare
Choose a tag to compare

FEATURES:

  • Version compatibility testing for terraform show (#41)

BUG FIXES:

  • Tolerate reversed terraform version output order (#47)

v0.4.0

30 Jul 18:27
Compare
Choose a tag to compare

FEATURES:

  • Added Terraform.SetLogPath method to set TF_LOG_PATH environment variable, and prevented manual setting of programmatically supported environment variables (#32)
  • Added Terraform.Version method to get executable version information (#7)

BUG FIXES:

  • Fixed -var handling issue (#34)

v0.3.0

30 Jul 18:27
Compare
Choose a tag to compare

BREAKING CHANGES:

  • Stop exporting exec.Cmd versions of methods (#25)
  • Require address and id arguments in Import() (#24)
  • Rename StateShow() to Show() (#30)

BUG FIXES:

  • Fix bug in Import() config argument (#28)

v0.2.2

30 Jul 18:28
Compare
Choose a tag to compare

BUG FIXES:

  • Version number is now correctly reported by the tfinstall package. Please note that tfinstall.Version was incorrect between versions 0.1.1 and 0.2.1 inclusive.

v0.2.1

30 Jul 18:28
06e6910
Compare
Choose a tag to compare

BUG FIXES:

  • Minor code changes to allow for compilation in Go 1.12 (#21)

v0.2.0

30 Jul 18:28
v0.2.0
7b2fc9a
Compare
Choose a tag to compare

NEW FEATURES:

  • add Import() function (#20)