Log the version info for easier debugging

This commit is contained in:
Mitchell Hashimoto 2014-10-20 22:32:00 -07:00
parent 22a1bbd940
commit c84af741de
1 changed files with 3 additions and 0 deletions

View File

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