Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TFState ¶
type TFState struct { Version int `json:"version"` TerraformVersion string `json:"terraform_version"` Resources []struct { Module *string `json:"module"` Mode string `json:"mode"` Type string `json:"type"` Name string `json:"name"` Provider string `json:"provider"` Instances []struct { IndexKey json.RawMessage `json:"index_key"` Attributes map[string]interface{} `json:"attributes"` } `json:"instances"` } `json:"resources"` }
type Transformer ¶
type Transformer struct {
// contains filtered or unexported fields
}
func NewTransformer ¶
func NewTransformer(rc resource.ResourceCreator) Transformer
func (Transformer) TransformToResources ¶
func (t Transformer) TransformToResources(tfstate *TFState) resource.Resources
Click to show internal directories.
Click to hide internal directories.