Skip to content

Releases: hashicorp/terraform-exec

v0.25.2

Choose a tag to compare

@radeksimko radeksimko released this 29 Apr 08:36
56a0d8b

NOTES:

  • go.mod: Lower compatibility constraint from 1.25.8 to 1.25.0 (#581)

DEPENDENCIES:

  • build(deps): bump github.com/hashicorp/hc-install from 0.9.4 to 0.9.5 (#585)

v0.25.1

Choose a tag to compare

@radeksimko radeksimko released this 22 Apr 14:43
5418a75

DEPENDENCIES:

  • build(deps): bump github.com/zclconf/go-cty from 1.17.0 to 1.18.0 (#568)
  • build(deps): bump github.com/hashicorp/go-version from 1.8.0 to 1.9.0 (#574)
  • build(deps): bump github.com/go-git/go-git/v5 from 5.16.5 to 5.17.1 (#573)
  • build(deps): bump github.com/zclconf/go-cty from 1.18.0 to 1.18.1 (#576)
  • build(deps): bump github.com/hashicorp/hc-install from 0.9.3 to 0.9.4 (#578)

v0.25.0

Choose a tag to compare

@radeksimko radeksimko released this 16 Feb 16:53
02b5829

NOTES:

  • bump Go compatibility from 1.23 to 1.24 (in-line with Go's support policy) (#548, #557)

ENHANCEMENTS:

  • tfexec: Added provider reattach support to all terraform workspace subcommands (#556)
  • tfexec: Add -generate-config-out to the (Terraform).Plan() method (#563)
  • Add support for providers mirror subcommand (#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

Choose a tag to compare

@SarahFrench SarahFrench released this 17 Sep 10:18
ec18400

ENHANCEMENTS:

  • Implement QueryJSON and introduce new way for consuming Terraform's structured logging (#539)

INTERNAL:

  • bump actions/setup-go from 5.5.0 to 6.0.0 (#536)

v0.23.1

Choose a tag to compare

@radeksimko radeksimko released this 27 Aug 09:50
7ae12dd

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.

INTERNAL:

  • bump github.com/cloudflare/circl from 1.6.0 to 1.6.1 (#524)
  • bump github.com/hashicorp/terraform-json from 0.24.0 to 0.26.0 (#520 & #529)
  • bump github.com/zclconf/go-cty from 1.16.2 to 1.16.4 (#522 & #532)
  • bump golang.org/x/net from 0.36.0 to 0.38.0 (#515)

v0.23.0

Choose a tag to compare

@radeksimko radeksimko released this 10 Apr 11:31
1ac2330

ENHANCEMENTS:

  • Context cancellation on Unix systems will now send Terraform process SIGINT instead of killing it (which is otherwise default os/exec behaviour) (#512)
    • You can change the default 60s WaitDelay via SetWaitDelay(time.Duration)
  • error type returned from individual commands now implements Unwrap making it possible to pass it into errors.As and access lower-level error such as exec.ExitError (#512)

NOTES:

  • go: Require Go 1.23 (previously 1.22) (#499)
  • Declare support of Terraform 0.12+ (#510)

v0.22.0

Choose a tag to compare

@radeksimko radeksimko released this 21 Jan 13:17
6801a6e

ENHANCEMENTS:

  • tfexec: Add support for terraform init --json via InitJSON (#478)

INTERNAL:

  • go: Require Go 1.22 (previously 1.18) (#499)

v0.21.0

Choose a tag to compare

@liamcervante liamcervante released this 17 May 15:07
b6ae175

ENHANCEMENTS:

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

v0.20.0

Choose a tag to compare

@kmoe kmoe released this 20 Dec 11:27
e37dda6

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

Choose a tag to compare

@kmoe kmoe released this 31 Aug 13:43
44a44d7

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)