diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/variable.go | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/variable.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/variable.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/variable.go b/vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/variable.go new file mode 100644 index 0000000..0f73fc9 --- /dev/null +++ b/vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/variable.go | |||
@@ -0,0 +1,16 @@ | |||
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 | } | ||