Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct {
Module *string `json:"module,omitempty"`
Mode string `json:"mode"`
Type string `json:"type"`
Name string `json:"name"`
Instances []ResourceInstance `json:"instances"`
}
type ResourceInstance ¶
type State ¶
type State struct {
Version int `json:"version"`
TerraformVersion string `json:"terraform_version"`
Resources []Resource `json:"resources"`
Lineage string `json:"lineage"`
}
func (*State) UnmarshalJSON ¶
UnmarshalJSON Custom deserializer to Throw error when a field not marked as omitempty is missing
Click to show internal directories.
Click to hide internal directories.