Log the version info for easier debugging
This commit is contained in:
parent
22a1bbd940
commit
c84af741de
3
main.go
3
main.go
|
@ -84,6 +84,9 @@ func realMain() int {
|
||||||
|
|
||||||
func wrappedMain() int {
|
func wrappedMain() int {
|
||||||
log.SetOutput(os.Stderr)
|
log.SetOutput(os.Stderr)
|
||||||
|
log.Printf(
|
||||||
|
"[INFO] Terraform version: %s %s %s",
|
||||||
|
Version, VersionPrerelease, GitCommit)
|
||||||
|
|
||||||
// Load the configuration
|
// Load the configuration
|
||||||
config := BuiltinConfig
|
config := BuiltinConfig
|
||||||
|
|
Loading…
Reference in New Issue