You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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 60sWaitDelay 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)
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)