NEW FEATURES:
terraform output -json now displays ephemeral outputs. The value of an ephemeral output is always null unless a plan or apply is being run. Note that terraform output (without the -json) flag does not yet display ephemeral outputs.ephemeralasnull function: a function takes a value of any type and returns a similar value of the same type with any ephemeral values replaced with non-ephemeral null values and all non-ephemeral values preserved.BUG FIXES:
secret_suffix in the kubernetes backend now includes validation to prevent errors when the secret_suffix ends with a number (#35666).error_message values to pass the core validate step, so variable validation can be completed later during plan
(#35537)self with many instances could encounter an error during evaluation (#35895)plantimestamp() function would return an invalid date during validation (#35902)ENHANCEMENTS:
element function now accepts negative indices (#35501)terraform validate (#35543)plan, apply, and refresh commands now produce a deprecated warning when using the -state flag. Instead use the path attribute within the local backend to modify the state file. (#35660)UPGRADE NOTES:
assume_role block (#35721)moved: Moved blocks now respect reserved keywords when parsing resource addresses. Configurations that reference resources with type names that match top level blocks and keywords from moved blocks will need to prepend the resource. identifier to these references. (#35850)For information on prior major and minor releases, refer to their changelogs:
Fetched April 8, 2026