Skip to content

Releases: hashicorp/terraform

v1.12.0-rc2

07 May 16:17
79f2693

Choose a tag to compare

v1.12.0-rc2 Pre-release
Pre-release

1.12.0-rc2 (May 07, 2025)

NEW FEATURES:

  • Added Terraform backend implementation for OCI Object Storage (#34465)

ENHANCEMENTS:

  • Terraform Test command now accepts a -parallelism=n option, which sets the number of parallel operations in a test run's plan/apply operation. (#34237)

  • Logical binary operators can now short-circuit (#36224)

  • Terraform Test: Runs can now be annotated for possible parallel execution. (#34180)

  • Allow terraform init when tests are present but no configuration files are directly inside the current directory (#35040)

  • Terraform Test: Continue subsequent test execution when an expected failure is not encountered. (#34969)

  • Produce detailed diagnostic objects when test run assertions fail (#34428)

  • backend/oss: Supports more standard environment variables to keep same with provider setting (#36581)

  • Improved elapsed time display in UI Hook to show minutes and seconds in mm:ss format. (#36368)

  • Update legacy term used in error messages. (Terraform Cloud agent => HCP Terraform Agent) (#36706)

  • import blocks: Now support importing a resource via a new identity attribute. This is mutually exclusive with the id attribute (#36703)

BUG FIXES:

  • Refreshed state was not used in the plan for orphaned resource instances (#36394)

  • Fixes malformed Terraform version error when the remote backend reads a remote workspace that specifies a Terraform version constraint. (#36356)

  • Changes to the order of sensitive attributes in the state format would erroneously indicate a plan contained changes when there were none. (#36465)

  • Avoid reporting duplicate attribute-associated diagnostics, such as "Available Write-only Attribute Alternative" (#36579)

  • for_each expressions in import blocks should not be able to reference the import target (#36801)

UPGRADE NOTES:

  • On Linux, Terraform now requires Linux kernel version 3.2 or later; support for previous versions has been discontinued. (#36478)

Previous Releases

For information on prior major and minor releases, refer to their changelogs:

v1.12.0-rc1

30 Apr 14:37
a06b312

Choose a tag to compare

v1.12.0-rc1 Pre-release
Pre-release

1.12.0-rc1 (April 30, 2025)

NEW FEATURES:

  • Added Terraform backend implementation for OCI Object Storage (#34465)

ENHANCEMENTS:

  • Terraform Test command now accepts a -parallelism=n option, which sets the number of parallel operations in a test run's plan/apply operation. (#34237)

  • Logical binary operators can now short-circuit (#36224)

  • Terraform Test: Runs can now be annotated for possible parallel execution. (#34180)

  • Allow terraform init when tests are present but no configuration files are directly inside the current directory (#35040)

  • Terraform Test: Continue subsequent test execution when an expected failure is not encountered. (#34969)

  • Produce detailed diagnostic objects when test run assertions fail (#34428)

  • backend/oss: Supports more standard environment variables to keep same with provider setting (#36581)

  • Improved elapsed time display in UI Hook to show minutes and seconds in mm:ss format. (#36368)

  • Update legacy term used in error messages. (Terraform Cloud agent => HCP Terraform Agent) (#36706)

  • import blocks: Now support importing a resource via a new identity attribute. This is mutually exclusive with the id attribute (#36703)

BUG FIXES:

  • Refreshed state was not used in the plan for orphaned resource instances (#36394)

  • Fixes malformed Terraform version error when the remote backend reads a remote workspace that specifies a Terraform version constraint. (#36356)

  • Changes to the order of sensitive attributes in the state format would erroneously indicate a plan contained changes when there were none. (#36465)

  • Avoid reporting duplicate attribute-associated diagnostics, such as "Available Write-only Attribute Alternative" (#36579)

  • for_each expressions in import blocks should not be able to reference the import target (#36801)

UPGRADE NOTES:

  • On Linux, Terraform now requires Linux kernel version 3.2 or later; support for previous versions has been discontinued. (#36478)

Previous Releases

For information on prior major and minor releases, refer to their changelogs:

v1.12.0-beta3

23 Apr 11:21
1ead476

Choose a tag to compare

v1.12.0-beta3 Pre-release
Pre-release

1.12.0-beta3 (April 23, 2025)

NEW FEATURES:

  • Added Terraform backend implementation for OCI Object Storage (#34465)

ENHANCEMENTS:

  • Terraform Test command now accepts a -parallelism=n option, which sets the number of parallel operations in a test run's plan/apply operation. (#34237)

  • Logical binary operators can now short-circuit (#36224)

  • Terraform Test: Runs can now be annotated for possible parallel execution. (#34180)

  • Allow terraform init when tests are present but no configuration files are directly inside the current directory (#35040)

  • Terraform Test: Continue subsequent test execution when an expected failure is not encountered. (#34969)

  • Produce detailed diagnostic objects when test run assertions fail (#34428)

  • backend/oss: Supports more standard environment variables to keep same with provider setting (#36581)

  • Improved elapsed time display in UI Hook to show minutes and seconds in mm:ss format. (#36368)

  • Update legacy term used in error messages. (Terraform Cloud agent => HCP Terraform Agent) (#36706)

BUG FIXES:

  • Refreshed state was not used in the plan for orphaned resource instances (#36394)

  • Fixes malformed Terraform version error when the remote backend reads a remote workspace that specifies a Terraform version constraint. (#36356)

  • Changes to the order of sensitive attributes in the state format would erroneously indicate a plan contained changes when there were none. (#36465)

  • Avoid reporting duplicate attribute-associated diagnostics, such as "Available Write-only Attribute Alternative" (#36579)

  • for_each expressions in import blocks should not be able to reference the import target (#36801)

UPGRADE NOTES:

  • On Linux, Terraform now requires Linux kernel version 3.2 or later; support for previous versions has been discontinued. (#36478)

Previous Releases

For information on prior major and minor releases, refer to their changelogs:

v1.12.0-beta2

16 Apr 09:21
798b429

Choose a tag to compare

v1.12.0-beta2 Pre-release
Pre-release

1.12.0-beta2 (April 16, 2025)

ENHANCEMENTS:

  • Terraform Test command now accepts a -parallelism=n option, which sets the number of parallel operations in a test run's plan/apply operation. (#34237)

  • Logical binary operators can now short-circuit (#36224)

  • Terraform Test: Runs can now be annotated for possible parallel execution. (#34180)

  • Allow terraform init when tests are present but no configuration files are directly inside the current directory (#35040)

  • Terraform Test: Continue subsequent test execution when an expected failure is not encountered. (#34969)

  • Produce detailed diagnostic objects when test run assertions fail (#34428)

  • backend/oss: Supports more standard environment variables to keep same with provider setting (#36581)

  • Improved elapsed time display in UI Hook to show minutes and seconds in mm:ss format. (#36368)

  • Update legacy term used in error messages. (Terraform Cloud agent => HCP Terraform Agent) (#36706)

BUG FIXES:

  • Refreshed state was not used in the plan for orphaned resource instances (#36394)

  • Fixes malformed Terraform version error when the remote backend reads a remote workspace that specifies a Terraform version constraint. (#36356)

  • Changes to the order of sensitive attributes in the state format would erroneously indicate a plan contained changes when there were none. (#36465)

  • Avoid reporting duplicate attribute-associated diagnostics, such as "Available Write-only Attribute Alternative" (#36579)

  • for_each expressions in import blocks should not be able to reference the import target (#36801)

UPGRADE NOTES:

  • On Linux, Terraform now requires Linux kernel version 3.2 or later; support for previous versions has been discontinued. (#36478)

Previous Releases

For information on prior major and minor releases, refer to their changelogs:

v1.11.4

09 Apr 14:06

Choose a tag to compare

1.11.4 (April 9, 2025)

BUG FIXES:

  • disable X25519Kyber768Draft00 in TLS to prevent timouts with some AWS network firewalls (#36791)

  • write-only attributes: internal providers should set write-only attributes to null (#36824)

v1.12.0-beta1

02 Apr 13:46
9c9ebb8

Choose a tag to compare

v1.12.0-beta1 Pre-release
Pre-release

1.12.0-beta1 (April 02, 2025)

ENHANCEMENTS:

  • Terraform Test command now accepts a -parallelism=n option, which sets the number of parallel operations in a test run's plan/apply operation. (#34237)

  • Logical binary operators can now short-circuit (#36224)

  • Terraform Test: Runs can now be annotated for possible parallel execution. (#34180)

  • Allow terraform init when tests are present but no configuration files are directly inside the current directory (#35040)

  • Terraform Test: Continue subsequent test execution when an expected failure is not encountered. (#34969)

  • Produce detailed diagnostic objects when test run assertions fail (#34428)

  • Improved elapsed time display in UI Hook to show minutes and seconds in mm:ss format. (#36368)

  • Update legacy term used in error messages. (Terraform Cloud agent => HCP Terraform Agent) (#36706)

BUG FIXES:

  • Refreshed state was not used in the plan for orphaned resource instances (#36394)

  • Fixes malformed Terraform version error when the remote backend reads a remote workspace that specifies a Terraform version constraint. (#36356)

  • Changes to the order of sensitive attributes in the state format would erroneously indicate a plan contained changes when there were none. (#36465)

  • Avoid reporting duplicate attribute-associated diagnostics, such as "Available Write-only Attribute Alternative" (#36579)

  • for_each expressions in import blocks should not be able to reference the import target (#36801)

UPGRADE NOTES:

  • On Linux, Terraform now requires Linux kernel version 3.2 or later; support for previous versions has been discontinued. (#36478)

Previous Releases

For information on prior major and minor releases, refer to their changelogs:

v1.11.3

26 Mar 14:22
7ce537d

Choose a tag to compare

1.11.3 (March 26, 2025)

BUG FIXES:

  • Fixes unintended exit of CLI when using the remote backend and applying with post-plan tasks configured in HCP Terraform (#36686)

  • Modules with zero instances that contain ephemeral resources could produce an error during apply (#36719)

v1.12.0-alpha20250319

19 Mar 19:55
34af201

Choose a tag to compare

v1.12.0-alpha20250319 Pre-release
Pre-release

1.12.0-alpha20250319 (March 19, 2025)

ENHANCEMENTS:

  • Terraform Test command now accepts a -parallelism=n option, which sets the number of parallel operations in a test run's plan/apply operation. (#34237)

  • Logical binary operators can now short-circuit (#36224)

  • Terraform Test: Runs can now be annotated for possible parallel execution. (#34180)

  • Allow terraform init when tests are present but no configuration files are directly inside the current directory (#35040)

  • Terraform Test: Continue subsequent test execution when an expected failure is not encountered. (#34969)

  • Produce detailed diagnostic objects when test run assertions fail (#34428)

  • Improved elapsed time display in UI Hook to show minutes and seconds in mm:ss format. (#36368)

BUG FIXES:

  • Refreshed state was not used in the plan for orphaned resource instances (#36394)

  • Fixes malformed Terraform version error when the remote backend reads a remote workspace that specifies a Terraform version constraint. (#36356)

  • Changes to the order of sensitive attributes in the state format would erroneously indicate a plan contained changes when there were none. (#36465)

  • Avoid reporting duplicate attribute-associated diagnostics, such as "Available Write-only Attribute Alternative" (#36579)

UPGRADE NOTES:

  • On Linux, Terraform now requires Linux kernel version 3.2 or later; support for previous versions has been discontinued. (#36478)

EXPERIMENTS:

Experiments are only enabled in alpha releases of Terraform CLI. The following features are not yet available in stable releases.

  • The new command terraform rpcapi exposes some Terraform Core functionality through an RPC interface compatible with go-plugin. The exact RPC API exposed here is currently subject to change at any time, because it's here primarily as a vehicle to support the Terraform Stacks private preview and so will be broken if necessary to respond to feedback from private preview participants, or possibly for other reasons. Do not use this mechanism yet outside of Terraform Stacks private preview.
  • The experimental "deferred actions" feature, enabled by passing the -allow-deferral option to terraform plan, permits count and for_each arguments in module, resource, and data blocks to have unknown values and allows providers to react more flexibly to unknown values. This experiment is under active development, and so it's not yet useful to participate in this experiment

Previous Releases

For information on prior major and minor releases, refer to their changelogs:

v1.12.0-alpha20250312

12 Mar 16:28
b5a5801

Choose a tag to compare

v1.12.0-alpha20250312 Pre-release
Pre-release

1.12.0-alpha20250312 (March 12, 2025)

ENHANCEMENTS:

  • Terraform Test command now accepts a -parallelism=n option, which sets the number of parallel operations in a test run's plan/apply operation. (#34237)

  • Logical binary operators can now short-circuit (#36224)

  • Terraform Test: Runs can now be annotated for possible parallel execution. (#34180)

  • Allow terraform init when tests are present but no configuration files are directly inside the current directory (#35040)

  • Terraform Test: Continue subsequent test execution when an expected failure is not encountered. (#34969)

  • Produce detailed diagnostic objects when test run assertions fail (#34428)

  • Improved elapsed time display in UI Hook to show minutes and seconds in mm:ss format. (#36368)

BUG FIXES:

  • Refreshed state was not used in the plan for orphaned resource instances (#36394)

  • Fixes malformed Terraform version error when the remote backend reads a remote workspace that specifies a Terraform version constraint. (#36356)

  • Changes to the order of sensitive attributes in the state format would erroneously indicate a plan contained changes when there were none. (#36465)

  • Avoid reporting duplicate attribute-associated diagnostics, such as "Available Write-only Attribute Alternative" (#36579)

  • Fixes unintended exit of CLI when using the remote backend and applying with post-plan tasks configured in HCP Terraform (#36655)

UPGRADE NOTES:

  • On Linux, Terraform now requires Linux kernel version 3.2 or later; support for previous versions has been discontinued. (#36478)

EXPERIMENTS:

Experiments are only enabled in alpha releases of Terraform CLI. The following features are not yet available in stable releases.

  • The new command terraform rpcapi exposes some Terraform Core functionality through an RPC interface compatible with go-plugin. The exact RPC API exposed here is currently subject to change at any time, because it's here primarily as a vehicle to support the Terraform Stacks private preview and so will be broken if necessary to respond to feedback from private preview participants, or possibly for other reasons. Do not use this mechanism yet outside of Terraform Stacks private preview.
  • The experimental "deferred actions" feature, enabled by passing the -allow-deferral option to terraform plan, permits count and for_each arguments in module, resource, and data blocks to have unknown values and allows providers to react more flexibly to unknown values. This experiment is under active development, and so it's not yet useful to participate in this experiment

Previous Releases

For information on prior major and minor releases, refer to their changelogs:

v1.11.2

12 Mar 13:16
42a3b0c

Choose a tag to compare

1.11.2 (March 12, 2025)

ENHANCEMENTS:

  • Azure Backend supports ADO Pipelines OIDC token refresh by using the oidc_request_url, oidc_request_token and (the new) ado_pipeline_service_connection_id. (#36458)

BUG FIXES:

  • Return error when the templatestring function contains only a single interpolation that evaluates to a null value (#36652)

  • Backend/azure: subscription_id be optional & skip unnecessary management plane API call in some setup (#36595)

NOTES:

  • Updated dependency github.com/hashicorp/aws-sdk-go-base/v2 to v2.0.0-beta.62 to support newly added AWS regions (#36625)