Documentation ¶
Index ¶
- Constants
- func DecodeBackendBlock(hclconfigs []*Config, ctx *hcl.EvalContext) (*hclwrite.Block, hcl.Diagnostics)
- func DecodeGlobalCty(hclconfigs []*Config, ctx *hcl.EvalContext) (*cty.Value, int, hcl.Diagnostics)
- func DecodeProviderBlocks(configs []*Config, ctx *hcl.EvalContext) ([]*hclwrite.Block, hcl.Diagnostics)
- func DecodeTerraformBlock(configs []*Config, ctx *hcl.EvalContext) ([]*hclwrite.Block, hcl.Diagnostics)
- type Backend
- type Config
- type Dependency
- type Global
- type Globals
- type Module
- type Output
- type Provider
- type Terradude
- type Terraform
Constants ¶
View Source
const DefaultConfigFileBaseName = "terradude.hcl"
Variables ¶
This section is empty.
Functions ¶
func DecodeBackendBlock ¶
func DecodeGlobalCty ¶
func DecodeProviderBlocks ¶
func DecodeTerraformBlock ¶
Types ¶
type Config ¶
type Config struct { Terradude *Terradude `hcl:"terradude,block"` Terraform *Terraform `hcl:"terraform,block"` Dependency []*Dependency `hcl:"dependency,block"` Backend *Backend `hcl:"backend,block"` Provider []*Provider `hcl:"provider,block"` Globals *Globals `hcl:"globals,block"` Remain hcl.Body `hcl:",remain"` }
type Dependency ¶
type Dependency struct { Name string `hcl:"name,label"` Body hcl.Body `hcl:",remain"` }
Click to show internal directories.
Click to hide internal directories.