Skip to content

Releases: hashicorp/terraform-exec

v0.21.0

17 May 15:07
v0.21.0
b6ae175
Compare
Choose a tag to compare

ENHANCEMENTS:

  • tfexec: Add -allow-deferral to (Terraform).Apply() and (Terraform).Plan() methods (#447)

v0.20.0

20 Dec 11:27
v0.20.0
e37dda6
Compare
Choose a tag to compare

ENHANCEMENTS:

  • Add JSONNumber option to Show to enable json.Number representation of numerical values in returned tfjson.Plan and tfjson.State values (#427)

v0.19.0

31 Aug 13:43
v0.19.0
44a44d7
Compare
Choose a tag to compare

ENHANCEMENTS:

  • Add support for terraform test command (#398)
  • Add support for -refresh-only flag for Plan and Apply methods. (#402)
  • Add support for -destroy flag for Apply (#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

01 Mar 13:14
v0.18.1
20b39e1
Compare
Choose a tag to compare

BUG FIXES:

  • Fix bug in which errors returned from commands such as (Terraform).Apply() were missing stderr output from Terraform. (#372)

v0.18.0

20 Feb 15:36
v0.18.0
Compare
Choose a tag to compare

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:

  • tfexec: Add (Terraform).ApplyJSON(), (Terraform).DestroyJSON(), (Terraform).PlanJSON() and (Terraform).RefreshJSON() methods (#354)
  • tfexec: Add (Terraform).MetadataFunctions() method (#358)

v0.17.3

31 Aug 14:10
Compare
Choose a tag to compare

Please note that terraform-exec now requires Go 1.18.

BUG FIXES:

  • Fix bug in which terraform init was always called with the -force-copy flag (#268)
  • Always pass -no-color flag when calling terraform force-unlock (#270)

v0.17.2

01 Jul 13:39
Compare
Choose a tag to compare

ENHANCEMENTS:

  • tfexec: Add (Terraform).SetLogCore() and (Terraform).SetLogProvider() methods (#324)

INTERNAL:

  • Bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#323)

v0.17.1

27 Jun 16:37
Compare
Choose a tag to compare

v0.17.1

v0.17.0

22 Jun 17:22
Compare
Choose a tag to compare

v0.17.0

v0.16.1

22 Jun 16:33
Compare
Choose a tag to compare

v0.16.1