opentofu/lang
Martin Atkins e63a1dfb96 lang: EvalExpr only convert if wantType is not dynamic
This actually seems to be a bug in the underlying cty Convert function
since converting to cty.DynamicPseudoType should always just return the
input verbatim, but it seems like it's actually converting unknown values
of any type to be cty.DynamicVal, losing the type information.

We should eventually fix this in cty too, but having this extra check in
the Terraform layer is harmless and allows us to make progress without
context-switching.
2018-12-07 17:05:36 -08:00
..
funcs lang/funcs: zipmap accepts tuple of values and produces object 2018-11-28 07:45:43 -08: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: EvalExpr only convert if wantType is not dynamic 2018-12-07 17:05:36 -08:00
functions.go lang: Add fileexists function 2018-10-17 10:18:07 +01:00
references.go move "configschema" from "config" to "configs" 2018-10-16 18:50:29 -07:00
scope.go terraform: ugly huge change to weave in new HCL2-oriented types 2018-10-16 18:46:46 -07:00