]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/variable.go
Upgrade to 0.12
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / hashicorp / terraform-config-inspect / tfconfig / variable.go
1 package tfconfig
2
3 // Variable represents a single variable from a Terraform module.
4 type Variable struct {
5 Name string `json:"name"`
6 Type string `json:"type,omitempty"`
7 Description string `json:"description,omitempty"`
8
9 // Default is an approximate representation of the default value in
10 // the native Go type system. The conversion from the value given in
11 // configuration may be slightly lossy. Only values that can be
12 // serialized by json.Marshal will be included here.
13 Default interface{} `json:"default,omitempty"`
14
15 Pos SourcePos `json:"pos"`
16 }