log the Go runtime version at TF startup

This will help us debug issues which have been caused by Go bugs.
This commit is contained in:
Mitchell Hashimoto 2017-02-15 16:10:30 -08:00
parent fa2fd0bf01
commit 3dfc46abd3
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ func wrappedMain() int {
log.Printf(
"[INFO] Terraform version: %s %s %s",
Version, VersionPrerelease, GitCommit)
log.Printf("[INFO] Go runtime version: %s", runtime.Version())
log.Printf("[INFO] CLI args: %#v", os.Args)
// Load the configuration