7caf0b9246
This encapsulates the logic for selecting an implied FQN for an unqualified type name, which could either come from a local name used in a module without specifying an explicit source for it or from the prefix of a resource type on a resource that doesn't explicitly set "provider". This replaces the previous behavior of just directly calling NewDefaultProvider everywhere so that we can use a different implication for the local name "terraform", to refer to the built-in terraform provider rather than the stale one that's on registry.terraform.io for compatibility with other Terraform versions. |
||
---|---|---|
.. | ||
testdata/provider-reqs | ||
config.go | ||
config_build.go | ||
config_test.go | ||
diagnostics.go | ||
doc.go | ||
module.go |