From 0a09ffb4ce559acb5a20561ca95e582b4750b866 Mon Sep 17 00:00:00 2001 From: Joao C Costa Date: Tue, 7 Nov 2023 17:58:46 +0000 Subject: [PATCH] Corrections as per https://github.com/hashicorp/terraform/pull/33856#discussion_r1330042125 --- website/docs/language/functions/nonsensitive.mdx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/website/docs/language/functions/nonsensitive.mdx b/website/docs/language/functions/nonsensitive.mdx index 9270ded8b363..c25ba18432ab 100644 --- a/website/docs/language/functions/nonsensitive.mdx +++ b/website/docs/language/functions/nonsensitive.mdx @@ -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