Versions in this module Expand all Collapse all v2 v2.4.2 Apr 27, 2020 v2.4.1 Apr 27, 2020 Changes in this version + func ChildBlockTypes(spec Spec) map[string]Spec + func Decode(body hcl.Body, spec Spec, ctx *hcl.EvalContext) (cty.Value, hcl.Diagnostics) + func ImpliedSchema(spec Spec) *hcl.BodySchema + func ImpliedType(spec Spec) cty.Type + func PartialDecode(body hcl.Body, spec Spec, ctx *hcl.EvalContext) (cty.Value, hcl.Body, hcl.Diagnostics) + func SourceRange(body hcl.Body, spec Spec) hcl.Range + func Variables(body hcl.Body, spec Spec) []hcl.Traversal + type AttrSpec struct + Name string + Required bool + Type cty.Type + type BlockAttrsSpec struct + ElementType cty.Type + Required bool + TypeName string + type BlockLabelSpec struct + Index int + Name string + type BlockListSpec struct + MaxItems int + MinItems int + Nested Spec + TypeName string + type BlockMapSpec struct + LabelNames []string + Nested Spec + TypeName string + type BlockObjectSpec struct + LabelNames []string + Nested Spec + TypeName string + type BlockSetSpec struct + MaxItems int + MinItems int + Nested Spec + TypeName string + type BlockSpec struct + Nested Spec + Required bool + TypeName string + type BlockTupleSpec struct + MaxItems int + MinItems int + Nested Spec + TypeName string + type DefaultSpec struct + Default Spec + Primary Spec + type ExprSpec struct + Expr hcl.Expression + type LiteralSpec struct + Value cty.Value + type ObjectSpec map[string]Spec + type Spec interface + type TransformExprSpec struct + Expr hcl.Expression + TransformCtx *hcl.EvalContext + VarName string + Wrapped Spec + type TransformFuncSpec struct + Func function.Function + Wrapped Spec + type TupleSpec []Spec