terraform/builtin/providers/terraform
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
..
test-fixtures builtin/providers/terraform: Fix tests 2018-10-16 19:14:11 -07:00
data_source_state.go providers/terraform: Explicit validate step 2019-05-04 21:06:31 -07:00
data_source_state_test.go providers/terraform: Explicit validate step 2019-05-04 21:06:31 -07:00
flatten.go provider/terraform: reorganize for merge into core 2017-11-02 10:46:31 -07:00
provider.go providers/terraform: Explicit validate step 2019-05-04 21:06:31 -07:00
provider_test.go Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00