opentofu/lang/blocktoattr
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
..
doc.go lang/blocktoattr: Selectively allow block syntax to be used for attributes 2019-03-28 10:41:01 -07:00
fixup_test.go lang/blocktoattr: Selectively allow block syntax to be used for attributes 2019-03-28 10:41:01 -07:00
fixup.go lang/blocktoattr: ExpandedVariables function 2019-03-28 10:41:01 -07:00
schema.go lang/blocktoattr: ExpandedVariables function 2019-03-28 10:41:01 -07:00
variables_test.go lang/blocktoattr: ExpandedVariables function 2019-03-28 10:41:01 -07:00
variables.go lang/blocktoattr: ExpandedVariables function 2019-03-28 10:41:01 -07:00