From 275ab4a74e01e26927ebb0b951024595013dd4ba Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Tue, 14 Nov 2017 15:28:21 -0800 Subject: [PATCH] main: don't print the CLI config into the logs Now that we're expecting "credentials" blocks in the config (with auth tokens for private module registries, etc) we should not print out the config contents into the log, or else people will probably end up accidentally disclosing their credentials when sharing debug output with us, or will be reluctant to share debug output. --- main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/main.go b/main.go index 77f441d20a..1818a91c44 100644 --- a/main.go +++ b/main.go @@ -141,7 +141,6 @@ func wrappedMain() int { // We continue to run anyway, since Terraform has reasonable defaults. } } - log.Printf("[DEBUG] CLI config is %#v", config) // In tests, Commands may already be set to provide mock commands if Commands == nil {