958ea4f7d1
Built-in providers are special providers that are distributed as part of Terraform CLI itself, rather than being installed separately. They always live in the terraform.io/builtin/... namespace so it's easier to see that they are special, and currently there is only one built-in provider named "terraform". Previous commits established the addressing scheme for built-in providers. This commit makes the installer aware of them to the extent that it knows not to try to install them the usual way and it's able to report an error if the user requests a built-in provider that doesn't exist or tries to impose a particular version constraint for a built-in provider. For the moment the tests for this are the ones in the "command" package because that's where the existing testing infrastructure for this functionality lives. A later commit should add some more focused unit tests here in the internal/providercache package, too. |
||
---|---|---|
.. | ||
testdata/cachedir | ||
cached_provider.go | ||
cached_provider_test.go | ||
dir.go | ||
dir_modify.go | ||
dir_modify_test.go | ||
dir_test.go | ||
doc.go | ||
installer.go | ||
installer_events.go | ||
lock_file.go | ||
package_install.go |