terraform/builtin/providers/terraform
Kristin Laemmert ff05362d51
providers.Interface: rename ValidateDataSourceConfig to ValidateDataResourceConfig (#27874)
* providers.Interface: rename ValidateDataSourceConfig to
ValidateDataResourceConfig

This PR came about after renaming ValidateResourceTypeConfig to
ValidateResourceConfig: I now understand that we'd called it the former
instead of the latter to indicate that the function wasn't necessarily
operating on a resource that actually exists. A possibly-more-accurate
renaming of both functions might then be ValidateManagedResourceConfig
and ValidateDataResourceConfig.

The next commit will update the protocol (v6 only) as well; these are in
separate commits for reviewers and will get squashed together before
merging.

* extend renaming to protov6
2021-02-24 12:04:28 -05:00
..
testdata refactor tests to use modern states.State in favor of terraform.State where possible 2020-09-30 16:07:54 -04:00
data_source_state.go Fix terraform_remote_state backend version check 2020-12-08 14:18:04 -05:00
data_source_state_test.go refactor tests to use modern states.State in favor of terraform.State where possible 2020-09-30 16:07:54 -04:00
provider.go providers.Interface: rename ValidateDataSourceConfig to ValidateDataResourceConfig (#27874) 2021-02-24 12:04:28 -05:00
provider_test.go remove dead code from tf provider 2020-12-02 13:07:10 -05:00