mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-16 08:10:02 +00:00
dbf9188792
```bash GO111MODULE=on go get github.com/hashicorp/terraform@pluginsdk-v0.12-early7 GO111MODULE=on go mod vendor GO111MODULE=on go mod tidy ```
17 lines
574 B
Go
17 lines
574 B
Go
package tfconfig
|
|
|
|
// Variable represents a single variable from a Terraform module.
|
|
type Variable struct {
|
|
Name string `json:"name"`
|
|
Type string `json:"type,omitempty"`
|
|
Description string `json:"description,omitempty"`
|
|
|
|
// Default is an approximate representation of the default value in
|
|
// the native Go type system. The conversion from the value given in
|
|
// configuration may be slightly lossy. Only values that can be
|
|
// serialized by json.Marshal will be included here.
|
|
Default interface{} `json:"default,omitempty"`
|
|
|
|
Pos SourcePos `json:"pos"`
|
|
}
|