6 "github.com/zclconf/go-cty/cty/function"
8 "github.com/hashicorp/terraform/addrs"
11 // Scope is the main type in this package, allowing dynamic evaluation of
12 // blocks and expressions based on some contextual information that informs
13 // which variables and functions will be available.
15 // Data is used to resolve references in expressions.
18 // SelfAddr is the address that the "self" object should be an alias of,
19 // or nil if the "self" object should not be available at all.
20 SelfAddr addrs.Referenceable
22 // BaseDir is the base directory used by any interpolation functions that
23 // accept filesystem paths as arguments.
26 // PureOnly can be set to true to request that any non-pure functions
27 // produce unknown value results rather than actually executing. This is
28 // important during a plan phase to avoid generating results that could
29 // then differ during apply.
32 funcs map[string]function.Function