Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
Name string `hcl:"name,label"`
Variables *[]Variable `hcl:"variable,block"`
Outputs *[]Output `hcl:"output,block"`
Resources *[]Resource `hcl:"resource,block"`
Source string `hcl:"source,attr"`
}
Module is a struct to express terraform module
func (*Module) PrintModuleTemplate ¶
type Output ¶
type Output struct {
Name hclwrite.Tokens `hcl:"name,label"`
Value hclwrite.Tokens `hcl:"value,attr"`
Description string `hcl:"description,attr"`
}
Output is terraform module output value info
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser represents a terraform module parser.
type Resource ¶
type Resource struct {
Type hclwrite.Tokens `hcl:"type,label"`
Name hclwrite.Tokens `hcl:"name,label"`
}
Resource is terraform module resource
Click to show internal directories.
Click to hide internal directories.