3.0 KiB
3.0 KiB
0.15.0 (Unreleased)
UPGRADE NOTES:
- config: The
list
andmap
functions, both of which were deprecated since Terraform v0.12, are now removed. You can replace uses of these functions withtolist([...])
andtomap({...})
respectively. [GH-26818] - cli: Interrupting execution will now cause terraform to exit with a non-0 status. [GH-26738]
- backend/atlas: the
atlas
backend, which was deprecated since v0.12, has been removed. [GH-26651] - backend/gcs: The
path
config argument, which was deprecated since v0.11, has been removed. Use theprefix
argument instead. [GH-26841]
ENHANCEMENTS:
- config: Terraform will now emit a warning if you declare a
backend
block in a non-root module. Terraform has always ignored such declarations, but previously did so silently. This is a warning rather than an error only because it is sometimes convenient to temporarily use a root module as if it were a child module in order to test or debug its behavior separately from its main backend. [GH-26954] - cli: Improved support for Windows console UI on Windows 10, including bold colors and underline for HCL diagnostics. [GH-26588]
- cli: The family of error messages with the summary "Invalid for_each argument" will now include some additional context about which external values contributed to the result. [GH-26747]
- cli: Typing an invalid top-level command, like
terraform destory
instead ofdestroy
, will now print out a specific error message about the command being invalid, rather than just printing out the usual help directory. [GH-26967] - provisioner/remote-exec: Can now run in a mode that expects the remote system to be running Windows and excuting commands using the Windows command interpreter, rather than a Unix-style shell. Specify the
target_platform
as"windows"
in theconnection
block. [GH-26865]
BUG FIXES:
- cli: Exit with an error if unable to gather input from the UI. For example, this may happen when running in a non-interactive environment but without
-input=false
. Previously Terraform would interpret these errors as empty strings, which could be confusing. [GH-26509]
EXPERIMENTS:
- Continuing the
module_variable_optional_attrs
experiment started in v0.14.0, there is now an experimentaldefaults
function intended for use with it, to allow for concisely defining and merging in default values for any unset optional attributes in a deep data structure. The function is callable only when themodule_variable_optional_attrs
experiment is available, because it's intended for use only with incoming variable values that might have certain attributes unset.
Previous Releases
For information on prior major releases, see their changelogs: