mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-24 16:10:46 -06:00
aa8b4a7cca
Signed-off-by: Yuvraj <evalsocket@gmail.com> Signed-off-by: Christian Mesh <christianmesh1@gmail.com> Co-authored-by: Christian Mesh <christianmesh1@gmail.com> Co-authored-by: James Humphries <James@james-humphries.co.uk>
5.5 KiB
5.5 KiB
1.7.0 (Unreleased)
UPGRADE NOTES:
- Backend/S3: The default of
use_legacy_workflow
changed tofalse
and is now deprecated. The S3 backend will follow the same behavior as AWS CLI and SDKs for credential search, preferring backend configuration over environment variables. To support the legacy credential search workflow, you can set this option astrue
. It'll be completely removed in a future minor version.
STATE ENCRYPTION
- We're introducing optional end-to-end encryption for state files.
- Available encryption methods as of now are:
- AES GCM (#1291)
- Available key providers:
NEW FEATURES:
- Add support for a
removed
block that allows users to remove resources or modules from the state without destroying them. (#1158)
ENHANCEMENTS:
- Added support to use
.tfvars
files from tests folder. (#1386) - Added
templatestring
function that takes a string and renders it as a template using a supplied set of template variables. (#1223) - Added
base64gunzip
function that takes a base64 encoded gzip string and returns the decompressed data as a string. (#800) - Added
cidrcontains
function that determines if an address belongs to a certain prefix. (#366) - Added
urldecode
function that will decode a url-encoded string. (#1234) - Added
issensitive
function that returns whether or not a value is sensitive. (#1370) - Added
-concise
flag to omit the refreshing state logs when tofu plan is run. (#1225) nonsensitive
function no longer returns error when applied to values that are not sensitive (#369)- Managing large local terraform.tfstate files is now much faster. (#579)
- Previously, every call to state.Write() would also Persist to disk. This was not following the intended API and had longstanding TODOs in the code.
- This change fixes the local state filesystem interface to function as the statemgr API describes.
- A possible side effect is that a hard crash mid-apply will no longer have a in-progress state file to reference. This matches the other state managers.
tofu console
should work in Solaris and AIX as readline has been updated. (#632)- Allow test run blocks to reference previous run block's module outputs (#1129)
- Support the XDG Base Directory Specification (#1200)
- Allow referencing the output from a test run in the local variables block of another run (tofu test). (#1254)
- Allow for templatefile function recursion (up to 1024 call depth default). (#1250)
- Dump state file when
tofu test
fails to clean up resources. (#1243) - Added aliases for
state list
(state ls
),state mv
(state move
), andstate rm
(state remove
) (#1220) - Added mechanism to introduce automatic retries for provider installations, specifically targeting transient errors (#1233)
BUG FIXES:
- Fix view hooks unit test flakiness by deterministically waiting for heartbeats to execute ($1153)
tofu test
resources cleanup at the end of tests changed to use simple reverse run block order. (#1043)- Fix access to known references when using a import block for module resources (#1105)
- Show resource plan even if it failed plan due to
prevent_destroy
(#1060) tofu login
now can be interrrupted withCtrl+C
shortcut. (#1074)- Don't check for version conflicts when doing a force-unlock (#1123)
- Fix Global Schema Cache not working in provider acceptance tests (#1054)
- Fix
tofu show
andtofu state show
not working with state files referencing Terraform registry providers in some instances (#1141) - Improved stability on 32-bit architectures (#1154)
- Don't show false update action when import resource with sensitive datasource(#1220)
- Fix panic when provisioner source and content are both null (#1376)
- Fix large number will be truncated in plan (#1382)
Previous Releases
For information on prior major and minor releases, see their changelogs: