2023-07-03 20:21:30 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-04-03 04:07:16 +00:00
|
|
|
package tfjson
|
|
|
|
|
|
|
|
// VersionOutput represents output from the version -json command
|
|
|
|
// added in v0.13
|
|
|
|
type VersionOutput struct {
|
|
|
|
Version string `json:"terraform_version"`
|
|
|
|
Revision string `json:"terraform_revision"`
|
|
|
|
Platform string `json:"platform,omitempty"`
|
|
|
|
ProviderSelections map[string]string `json:"provider_selections"`
|
|
|
|
Outdated bool `json:"terraform_outdated"`
|
|
|
|
}
|