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.
pull/16663/head
Martin Atkins 9 years ago
parent aa44e9d56b
commit 275ab4a74e

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

Loading…
Cancel
Save