From a7f935c63bec26df12cd8495dfcc5d614fa7d9c6 Mon Sep 17 00:00:00 2001 From: Kent 'picat' Gruber Date: Wed, 6 Nov 2019 17:12:33 -0500 Subject: [PATCH] main: Warn about potential sensitive information in logs when panicking --- panic.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/panic.go b/panic.go index 7ea4da713..6690a93e9 100644 --- a/panic.go +++ b/panic.go @@ -23,6 +23,10 @@ When reporting bugs, please include your terraform version. That information is available on the first line of crash.log. You can also get it by running 'terraform --version' on the command line. +SECURITY WARNING: the "crash.log" file that was created may contain +sensitive information that must be redacted before it is safe to share +on the issue tracker. + [1]: https://github.com/hashicorp/terraform/issues !!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!