From 9d2994ab9b8050ba1cf89df903307926b2322d59 Mon Sep 17 00:00:00 2001 From: Alisdair McDiarmid Date: Mon, 19 Oct 2020 13:19:51 -0400 Subject: [PATCH] website: Sensitive values in provisioner config --- website/docs/provisioners/index.html.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/docs/provisioners/index.html.markdown b/website/docs/provisioners/index.html.markdown index 80b4cdf535..d604b6f881 100644 --- a/website/docs/provisioners/index.html.markdown +++ b/website/docs/provisioners/index.html.markdown @@ -186,6 +186,10 @@ that resource's attributes. For example, use `self.public_ip` to reference an references create dependencies. Referring to a resource by name within its own block would create a dependency cycle. +## Suppressing Provisioner Logs in CLI Output + +The configuration for a `provisioner` block may use sensitive values, such as [`sensitive` variables](../configuration/variables.html#suppressing-values-in-cli-output) or [`sensitive` output values](../outputs.html#sensitive-suppressing-values-in-cli-output). In this case, all log output from the provider is automatically suppressed to prevent the sensitive values from being displayed. + ## Creation-Time Provisioners By default, provisioners run when the resource they are defined within is