Versions in this module Expand all Collapse all v1 v1.4.0 Mar 10, 2023 Changes in this version + func References(traversals []hcl.Traversal) ([]*addrs.Reference, tfdiags.Diagnostics) + func ReferencesInBlock(body hcl.Body, schema *configschema.Block) ([]*addrs.Reference, tfdiags.Diagnostics) + func ReferencesInExpr(expr hcl.Expression) ([]*addrs.Reference, tfdiags.Diagnostics) + type Data interface + GetCountAttr func(addrs.CountAttr, tfdiags.SourceRange) (cty.Value, tfdiags.Diagnostics) + GetForEachAttr func(addrs.ForEachAttr, tfdiags.SourceRange) (cty.Value, tfdiags.Diagnostics) + GetInputVariable func(addrs.InputVariable, tfdiags.SourceRange) (cty.Value, tfdiags.Diagnostics) + GetLocalValue func(addrs.LocalValue, tfdiags.SourceRange) (cty.Value, tfdiags.Diagnostics) + GetModule func(addrs.ModuleCall, tfdiags.SourceRange) (cty.Value, tfdiags.Diagnostics) + GetPathAttr func(addrs.PathAttr, tfdiags.SourceRange) (cty.Value, tfdiags.Diagnostics) + GetResource func(addrs.Resource, tfdiags.SourceRange) (cty.Value, tfdiags.Diagnostics) + GetTerraformAttr func(addrs.TerraformAttr, tfdiags.SourceRange) (cty.Value, tfdiags.Diagnostics) + StaticValidateReferences func(refs []*addrs.Reference, self addrs.Referenceable) tfdiags.Diagnostics + type Scope struct + BaseDir string + ConsoleMode bool + Data Data + PureOnly bool + SelfAddr addrs.Referenceable + func (s *Scope) EvalBlock(body hcl.Body, schema *configschema.Block) (cty.Value, tfdiags.Diagnostics) + func (s *Scope) EvalContext(refs []*addrs.Reference) (*hcl.EvalContext, tfdiags.Diagnostics) + func (s *Scope) EvalExpr(expr hcl.Expression, wantType cty.Type) (cty.Value, tfdiags.Diagnostics) + func (s *Scope) EvalReference(ref *addrs.Reference, wantType cty.Type) (cty.Value, tfdiags.Diagnostics) + func (s *Scope) EvalSelfBlock(body hcl.Body, self cty.Value, schema *configschema.Block, ...) (cty.Value, tfdiags.Diagnostics) + func (s *Scope) ExpandBlock(body hcl.Body, schema *configschema.Block) (hcl.Body, tfdiags.Diagnostics) + func (s *Scope) Functions() map[string]function.Function + func (s *Scope) SetActiveExperiments(active experiments.Set)