Versions in this module Expand all Collapse all v0 v0.1.1 Jan 10, 2022 Changes in this version type Parser + Parse func() (*Module, error) + type PrintOptions struct + Format string + IsNoDefaults bool + IsNoOutputs bool + type Printer interface + Print func() (string, error) + func NewPrinter(m *Module, o *PrintOptions) (Printer, error) v0.1.0 Apr 4, 2020 Changes in this version type Module + func (m *Module) PrintModuleAnalysis() string v0.0.1 Mar 22, 2020 Changes in this version + type Module struct + Name string + Outputs *[]Output + Resources *[]Resource + Source string + Variables *[]Variable + func NewModule(source string) *Module + func (m *Module) PrintModuleTemplate(isMinimum bool) string + func (m *Module) String() string + type Output struct + Description string + Name hclwrite.Tokens + Value hclwrite.Tokens + type Parser struct + func NewParser() *Parser + func (p *Parser) ParseTfModule(source string) (*Module, error) + type Resource struct + Name hclwrite.Tokens + Type hclwrite.Tokens + type Variable struct + Default hclwrite.Tokens + Description string + Name string + Type hclwrite.Tokens + func (v *Variable) GenerateComment() hclwrite.Tokens