mirror of https://github.com/hashicorp/terraform
data resources are a separate namespace of resources than managed resources, so we need to call a different provider method depending on what mode of resource we're visiting. Managed resources use ValidateResource, while data resources use ValidateDataSource, since at the provider level of abstraction each provider has separate sets of resources and data sources respectively.pull/6598/head
parent
844e1abdd3
commit
c1315b3f09
Loading…
Reference in new issue