Releases: hashicorp/terraform
v1.12.0-rc2
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:ssformat. (#36368) -
Update legacy term used in error messages. (Terraform Cloud agent => HCP Terraform Agent) (#36706)
-
importblocks: Now support importing a resource via a new identity attribute. This is mutually exclusive with theidattribute (#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
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:ssformat. (#36368) -
Update legacy term used in error messages. (Terraform Cloud agent => HCP Terraform Agent) (#36706)
-
importblocks: Now support importing a resource via a new identity attribute. This is mutually exclusive with theidattribute (#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
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:ssformat. (#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
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:ssformat. (#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
v1.12.0-beta1
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:ssformat. (#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
v1.12.0-alpha20250319
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:ssformat. (#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 rpcapiexposes some Terraform Core functionality through an RPC interface compatible withgo-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-deferraloption toterraform plan, permitscountandfor_eacharguments inmodule,resource, anddatablocks 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
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:ssformat. (#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 rpcapiexposes some Terraform Core functionality through an RPC interface compatible withgo-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-deferraloption toterraform plan, permitscountandfor_eacharguments inmodule,resource, anddatablocks 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
1.11.2 (March 12, 2025)
ENHANCEMENTS:
- Azure Backend supports ADO Pipelines OIDC token refresh by using the
oidc_request_url,oidc_request_tokenand (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_idbe 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)