1.11.0-beta1 (January 16, 2025)
NEW FEATURES:
-
Add write-only attributes to resources. Providers can specify that certain attributes are write-only. They are not persisted in state. You can use ephemeral values in write-only attributes. (#36031)
-
terraform test
: The-junit-xml
option for the terraform test command is now generally available. This option allows the command to create a test report in JUnit XML format. Feedback during the experimental phase helped map terraform test concepts to the JUnit XML format, and new additons may happen in future releases. (#36324) -
S3 native state locking is now generally available. The
use_lockfile
argument enables users to adopt the S3-native mechanism for state locking. As part of this change, we've deprecated the DynamoDB-related arguments in favor of this new locking mechanism. While you can still use DynamoDB alongside S3-native state locking for migration purposes, we encourage migrating to the new state locking mechanism.
ENHANCEMENTS:
-
init
: Provider installation will utilise credentials configured in a.netrc
file for the download and shasum URLs returned by provider registries. (#35843) -
New command
modules -json
: Displays a full list of all installed modules in a working directory, including whether each module is currently referenced by the working directory's configuration. (#35884) -
terraform test
: Test runs now support using mocked or overridden values during unit test runs (e.g., with command = "plan"). Setoverride_during = plan
in the test configuration to use the overridden values during the plan phase. The default value isoverride_during = apply
. (#36227) -
terraform test
: Add newstate_key
attribute forrun
blocks, allowing test authors control over which internal state file should be used for the current test run. (#36185)
BUG FIXES:
- Updated dependency
github.com/hashicorp/go-slug
v0.16.0
=>v0.16.3
to integrate latest changes (fix for CVE-2025-0377) (#36273)
Previous Releases
For information on prior major and minor releases, refer to their changelogs: