Versions in this module Expand all Collapse all v0 v0.11.5 Mar 21, 2018 v0.11.4 Mar 15, 2018 Changes in this version + func IsIgnoredFile(name string) bool + type Backend struct + Config hcl.Body + DeclRange hcl.Range + Type string + TypeRange hcl.Range + type Config struct + CallRange hcl.Range + Children map[string]*Config + Module *Module + Parent *Config + Path []string + Root *Config + SourceAddr string + SourceAddrRange hcl.Range + Version *version.Version + func BuildConfig(root *Module, walker ModuleWalker) (*Config, hcl.Diagnostics) + func (c *Config) AllModules() []*Config + func (c *Config) DeepEach(cb func(c *Config)) + func (c *Config) Depth() int + type Connection struct + Config hcl.Body + DeclRange hcl.Range + Type string + TypeRange *hcl.Range + type DataResource struct + Config hcl.Body + Count hcl.Expression + DeclRange hcl.Range + DependsOn []hcl.Traversal + ForEach hcl.Expression + Name string + ProviderConfigRef *ProviderConfigRef + Type string + TypeRange hcl.Range + type File struct + Backends []*Backend + CoreVersionConstraints []VersionConstraint + DataResources []*DataResource + Locals []*Local + ManagedResources []*ManagedResource + ModuleCalls []*ModuleCall + Outputs []*Output + ProviderConfigs []*Provider + ProviderRequirements []*ProviderRequirement + Variables []*Variable + type Local struct + DeclRange hcl.Range + Expr hcl.Expression + Name string + type ManagedResource struct + Config hcl.Body + Connection *Connection + Count hcl.Expression + CreateBeforeDestroy bool + CreateBeforeDestroySet bool + DeclRange hcl.Range + DependsOn []hcl.Traversal + ForEach hcl.Expression + IgnoreAllChanges bool + IgnoreChanges []hcl.Traversal + Name string + PreventDestroy bool + PreventDestroySet bool + ProviderConfigRef *ProviderConfigRef + Provisioners []*Provisioner + Type string + TypeRange hcl.Range + type Module struct + Backend *Backend + CoreVersionConstraints []VersionConstraint + DataResources map[string]*DataResource + Locals map[string]*Local + ManagedResources map[string]*ManagedResource + ModuleCalls map[string]*ModuleCall + Outputs map[string]*Output + ProviderConfigs map[string]*Provider + ProviderRequirements map[string][]VersionConstraint + Variables map[string]*Variable + func NewModule(primaryFiles, overrideFiles []*File) (*Module, hcl.Diagnostics) + type ModuleCall struct + Config hcl.Body + Count hcl.Expression + DeclRange hcl.Range + DependsOn []hcl.Traversal + ForEach hcl.Expression + Name string + SourceAddr string + SourceAddrRange hcl.Range + SourceSet bool + Version VersionConstraint + type ModuleRequest struct + CallRange hcl.Range + Name string + Parent *Config + Path []string + SourceAddr string + SourceAddrRange hcl.Range + VersionConstraint VersionConstraint + type ModuleWalker interface + LoadModule func(req *ModuleRequest) (*Module, *version.Version, hcl.Diagnostics) + type ModuleWalkerFunc func(req *ModuleRequest) (*Module, *version.Version, hcl.Diagnostics) + func (f ModuleWalkerFunc) LoadModule(req *ModuleRequest) (*Module, *version.Version, hcl.Diagnostics) + type Output struct + DeclRange hcl.Range + DependsOn []hcl.Traversal + Description string + DescriptionSet bool + Expr hcl.Expression + Name string + Sensitive bool + SensitiveSet bool + type Parser struct + func NewParser(fs afero.Fs) *Parser + func (p *Parser) IsConfigDir(path string) bool + func (p *Parser) LoadConfigDir(path string) (*Module, hcl.Diagnostics) + func (p *Parser) LoadConfigFile(path string) (*File, hcl.Diagnostics) + func (p *Parser) LoadConfigFileOverride(path string) (*File, hcl.Diagnostics) + func (p *Parser) LoadHCLFile(path string) (hcl.Body, hcl.Diagnostics) + func (p *Parser) LoadValuesFile(path string) (map[string]cty.Value, hcl.Diagnostics) + func (p *Parser) Sources() map[string][]byte + type Provider struct + Alias string + AliasRange *hcl.Range + Config hcl.Body + DeclRange hcl.Range + Name string + NameRange hcl.Range + Version VersionConstraint + type ProviderConfigRef struct + Alias string + AliasRange *hcl.Range + Name string + NameRange hcl.Range + type ProviderRequirement struct + Name string + Requirement VersionConstraint + type Provisioner struct + Config hcl.Body + Connection *Connection + DeclRange hcl.Range + OnFailure ProvisionerOnFailure + Type string + TypeRange hcl.Range + When ProvisionerWhen + type ProvisionerOnFailure int + const ProvisionerOnFailureContinue + const ProvisionerOnFailureFail + const ProvisionerOnFailureInvalid + func (i ProvisionerOnFailure) String() string + type ProvisionerWhen int + const ProvisionerWhenCreate + const ProvisionerWhenDestroy + const ProvisionerWhenInvalid + func (i ProvisionerWhen) String() string + type Variable struct + DeclRange hcl.Range + Default cty.Value + Description string + DescriptionSet bool + Name string + ParsingMode VariableParsingMode + Type cty.Type + type VariableParsingMode rune + const VariableParseHCL + const VariableParseLiteral + func (m VariableParsingMode) Parse(name, value string) (cty.Value, hcl.Diagnostics) + type VariableTypeHint rune + const TypeHintList + const TypeHintMap + const TypeHintNone + const TypeHintString + func (i VariableTypeHint) String() string + type VersionConstraint struct + DeclRange hcl.Range + Required version.Constraints