Skip to content

Commit

Permalink
Corrections as per #33856 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocc committed Nov 7, 2023
1 parent dcb5669 commit 0a09ffb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions website/docs/language/functions/nonsensitive.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,8 @@ due to an inappropriate call to `nonsensitive` in your module, that's a bug in
your module and not a bug in Terraform 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` will make no changes to values that aren't marked as sensitive, even though such a call may be redundant and potentially confusing.
Use `nonsensitive` only after careful consideration and with definite intent.

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
Expand Down

0 comments on commit 0a09ffb

Please sign in to comment.