opentofu/builtin
Martin Atkins 083af21d30 providers/terraform: Explicit validate step
We were previously catching some errors at read time, but some type errors
were panicking because the cty.DynamicPseudoType arguments have no
automatic pre-type-checking done but this code was assuming they would
be objects.

Here we add an explicit validation step that includes both the backend
validation we were previously doing during read and some additional
type checking to ensure the two dynamic arguments are suitably-typed.
Having the separate validation step means that these problems can be
detected by "terraform validate", rather than only in "terraform plan"
or "terraform apply".
2019-05-04 21:06:31 -07:00
..
bins Initial implementation of a habitat provisioner 2017-12-07 16:29:30 -08:00
providers providers/terraform: Explicit validate step 2019-05-04 21:06:31 -07:00
provisioners fix(salt-masterless): Compare retrieved variable values with defaults 2019-02-14 18:13:16 -08:00