Skip to content
Permalink
main
Switch branches/tags
Go to file
The revision field is only populated on dev builds so this means
most releases of Terraform have an empty "terraform_revision" field
in the JSON output. Since we recommend developers use go tooling
to `go build` this tool when developing, the revision is not useful
data and so it is removed.
8 contributors

Users who have contributed to this file

@mitchellh @phinze @radeksimko @apparentlymart @grubernaut @jbardin @armon @pselle
package main
import (
"github.com/hashicorp/terraform/version"
)
var Version = version.Version
var VersionPrerelease = version.Prerelease