Skip to content

Releases: hashicorp/terraform

v1.12.2

11 Jun 11:02
ce0baf8
Compare
Choose a tag to compare

1.12.2 (June 11, 2025)

BUG FIXES:

  • partial ephemeral values were rejected in ephemeral outputs (#37210)

v1.13.0-alpha20250604

04 Jun 10:15
2d0a8e7
Compare
Choose a tag to compare
v1.13.0-alpha20250604 Pre-release
Pre-release

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. Use terraform 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 a variable 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 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.

Previous Releases

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

v1.13.0-alpha20250521

21 May 13:50
6843a2f
Compare
Choose a tag to compare
v1.13.0-alpha20250521 Pre-release
Pre-release

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. Use terraform stacks -help to see available commands. (#36931)

  • Deferred actions: The plan, apply, and refresh 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

21 May 13:02
33aa0f7
Compare
Choose a tag to compare

1.12.1 (May 21, 2025)

BUG FIXES:

  • Include resource identity in import apply UI output (#37044)

  • Fix regression during provider installation by reverting back to not sending HEAD requests. (#36998)

  • Avoid crash on test failure in comparison in function call (#37071)

v1.12.0

14 May 15:15
f9e9a59
Compare
Choose a tag to compare

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 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-rc2

07 May 16:17
79f2693
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)