opentofu/lang
Martin Atkins 8746e9e8ad lang/blocktoattr: ExpandedVariables function
Because we handle FixUpBlockAttrs after dynamic block expansion, when
resolving variables we unfortunately need to consider the possibility of
both dynamic block expansion _and_ the block attrs fixup.

To accommodate this we have a variant of dynblock.VariablesHCLDec that
instead walks using the configschema.Block representation of the schema
and applies the same opportunistic schema rewrite used by FixUpBlockAttrs
at each body encountered during the walk.
2019-03-28 10:41:01 -07:00
..
blocktoattr lang/blocktoattr: ExpandedVariables function 2019-03-28 10:41:01 -07:00
funcs lang/funcs: Port the "reverse" function from the old functions set 2019-03-19 17:32:19 -07:00
data_test.go core: Static-validate resource references against schemas 2018-11-26 08:25:03 -08:00
data.go core: Static-validate resource references against schemas 2018-11-26 08:25:03 -08:00
doc.go lang: new package for the runtime parts of the config language 2018-10-16 18:44:26 -07:00
eval_test.go move "configschema" from "config" to "configs" 2018-10-16 18:50:29 -07:00
eval.go lang/eval: Apply attr-as-nested-block fixup in EvalBlock 2019-03-28 10:41:01 -07:00
functions.go lang/funcs: Port the "reverse" function from the old functions set 2019-03-19 17:32:19 -07:00
references.go lang: Consider "dynamic" blocks when resolving references 2019-03-19 10:04:45 -07:00
scope.go terraform: ugly huge change to weave in new HCL2-oriented types 2018-10-16 18:46:46 -07:00