opentofu/lang
Martin Atkins 2be524d6ac core: Validate depends_on and ignore_changes traversals
Both depends_on and ignore_changes contain references to objects that we
can validate.

Historically Terraform has not validated these, instead just ignoring
references to non-existent objects. Since there is no reason to refer to
something that doesn't exist, we'll now verify this and return errors so
that users get explicit feedback on any typos they may have made, rather
than just wondering why what they added seems to have no effect.

This is particularly important for ignore_changes because users have
historically used strange values here to try to exploit the fact that
Terraform was resolving ignore_changes against a flatmap. This will give
them explicit feedback for any odd constructs that the configuration
upgrade tool doesn't know how to detect and fix.
2018-12-17 09:02:25 -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 core: Validate depends_on and ignore_changes traversals 2018-12-17 09:02:25 -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