mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-26 16:36:26 -06:00
Improve changelog and docs message for nonsensitive function fixes. (#1055)
Signed-off-by: Jakub Martin <kubam@spacelift.io>
This commit is contained in:
parent
28e6bce155
commit
064f150047
@ -7,10 +7,10 @@ UPGRADE NOTES:
|
||||
NEW FEATURES:
|
||||
|
||||
ENHANCEMENTS:
|
||||
* `nonsensitive` function no longer returns error when applied to values that are not sensitive ([#369](https://github.com/opentofu/opentofu/pull/369))
|
||||
|
||||
BUG FIXES:
|
||||
* `tofu test` resources cleanup at the end of tests changed to use simple reverse run block order. ([#1043](https://github.com/opentofu/opentofu/pull/1043))
|
||||
* nonsensitive no longer produces error when applied to values that are not sensitive
|
||||
|
||||
## Previous Releases
|
||||
|
||||
|
@ -73,10 +73,9 @@ due to an inappropriate call to `nonsensitive` in your module, that's a bug in
|
||||
your module and not a bug in OpenTofu itself.
|
||||
**Use this function sparingly and only with due care.**
|
||||
|
||||
`nonsensitive` will no longer return an error if you pass a value that isn't marked
|
||||
as sensitive, even though such a call may be redundant and potentially confusing
|
||||
or misleading to a future maintainer of your module. Use `nonsensitive` only
|
||||
after careful consideration and with definite intent.
|
||||
`nonsensitive` allows passing a value that isn't marked as sensitive,
|
||||
even though such a call may be redundant and potentially confusing
|
||||
or misleading to a future maintainer of your module.
|
||||
|
||||
Consider including a comment adjacent to your call to explain to future
|
||||
maintainers what makes the usage safe and thus what invariants they must take
|
||||
|
Loading…
Reference in New Issue
Block a user