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.
This commit is contained in:
Martin Atkins 2017-11-14 15:28:21 -08:00
parent aa44e9d56b
commit 275ab4a74e
1 changed files with 0 additions and 1 deletions

View File

@ -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 {