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:
parent
fa2fd0bf01
commit
3dfc46abd3
1
main.go
1
main.go
|
@ -103,6 +103,7 @@ func wrappedMain() int {
|
||||||
log.Printf(
|
log.Printf(
|
||||||
"[INFO] Terraform version: %s %s %s",
|
"[INFO] Terraform version: %s %s %s",
|
||||||
Version, VersionPrerelease, GitCommit)
|
Version, VersionPrerelease, GitCommit)
|
||||||
|
log.Printf("[INFO] Go runtime version: %s", runtime.Version())
|
||||||
log.Printf("[INFO] CLI args: %#v", os.Args)
|
log.Printf("[INFO] CLI args: %#v", os.Args)
|
||||||
|
|
||||||
// Load the configuration
|
// Load the configuration
|
||||||
|
|
Loading…
Reference in New Issue