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
type Output ¶
type Output struct {
Name string `hcl:"name,label"`
Value hclwrite.Tokens `hcl:"value,attr"`
Description string `hcl:"description,attr"`
}
Output is terraform module output value info
type PrintOptions ¶ added in v0.1.1
type Printer ¶ added in v0.1.1
Printer is an interface to print terraform module.
func NewPrinter ¶ added in v0.1.1
func NewPrinter(m *Module, o *PrintOptions) (Printer, error)
Click to show internal directories.
Click to hide internal directories.