Versions in this module Expand all Collapse all v2 v2.1.0 Nov 20, 2022 v2.0.0 Oct 26, 2022 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 + type UnknownBody interface + Unknown func() bool + type ValidateSpec struct + Func func(value cty.Value) hcl.Diagnostics + Wrapped Spec