Releases: hashicorp/terraform
v1.12.2
v1.13.0-alpha20250604
1.13.0-alpha20250604 (June 04, 2025)
NEW FEATURES:
- The new command
terraform stacks
exposes some stack operations through the cli. The available subcommands depend on the stacks plugin implementation. Useterraform stacks -help
to see available commands. (#36931)
ENHANCEMENTS:
-
Filesystem functions are now checked for consistent results to catch invalid data during apply (#37001)
-
Allow successful init when provider constraint matches at least one valid version (#37137)
-
Performance fix for evaluating high cardinality resources (#26355)
-
terraform test
: Test authors can now specify definitions for external variables that are referenced within test files directly within the test file itself. (#37195)
BUG FIXES:
- Added a missing warning diagnostic that alerts users when child module contains an ignored
cloud
block. (#37180)
NOTES:
- The command
terraform rpcapi
is now generally available. It is not intended for public consumption, but exposes certain Terraform operations through an RPC interface compatible with go-plugin. (#37067)
UPGRADE NOTES:
terraform test
: External variables referenced within test files should now be accompanied by avariable
definition block within the test file. This is optional, but users with complex external variables may see error diagnostics without the additional variable definition. (#37195)
EXPERIMENTS:
Experiments are only enabled in alpha releases of Terraform CLI. The following features are not yet available in stable releases.
- The experimental "deferred actions" feature, enabled by passing the
-allow-deferral
option toterraform plan
, permitscount
andfor_each
arguments inmodule
,resource
, anddata
blocks to have unknown values and allows providers to react more flexibly to unknown values.
Previous Releases
For information on prior major and minor releases, refer to their changelogs:
v1.13.0-alpha20250521
1.13.0-alpha20250521 (May 21, 2025)
NEW FEATURES:
-
The new command
terraform stacks
exposes some stack operations through the cli. The available subcommands depend on the stacks plugin implementation. Useterraform stacks -help
to see available commands. (#36931) -
Deferred actions: The
plan
,apply
, andrefresh
commands now support the-allow-deferral
flag. The flag enables Terraform and Terraform Providers to defer changes with unresolvable unknown values to future plans instead of failing the entire plan. (#37067)
ENHANCEMENTS:
-
Filesystem functions are now checked for consistent results to catch invalid data during apply (#37001)
-
Allow successful init when provider constraint matches at least one valid version (#37137)
NOTES:
- The command
terraform rpcapi
is now generally available. It is not intended for public consumption, but exposes certain Terraform operations through an RPC interface compatible with go-plugin. (#37067)
Previous Releases
For information on prior major and minor releases, refer to their changelogs:
v1.12.1
v1.12.0
1.12.0 (May 14, 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 theid
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-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: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 theid
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
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 theid
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
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
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: