main: Warn about potential sensitive information in logs when panicking

This commit is contained in:
Kent 'picat' Gruber 2019-11-06 17:12:33 -05:00 committed by Martin Atkins
parent 2d9d6d7afe
commit a7f935c63b
1 changed files with 4 additions and 0 deletions

View File

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