opentofu/command/cliconfig
Kristin Laemmert 0d620018fe
provider cache: log errors and validate dir exists (#24993)
* providercache: add logging for errors from getproviders.SearchLocalDirectory

providercache.fillMetaCache() was silently swallowing errors when
searching the cache directory. This commit logs the error without
changing the behavior otherwise.

* command/cliconfig: validate plugin cache dir exists

The plugin cache directory must exist for terraform to use it, so we
will add a check at the begining.
2020-05-19 15:32:36 -04:00
..
testdata command/cliconfig: handle provider_installation block in JSON syntax 2020-04-23 10:52:01 -07:00
cliconfig_test.go provider cache: log errors and validate dir exists (#24993) 2020-05-19 15:32:36 -04:00
cliconfig.go provider cache: log errors and validate dir exists (#24993) 2020-05-19 15:32:36 -04:00
config_unix.go command/cliconfig: New CredentialsSource implementation 2019-08-23 11:57:11 -07:00
config_windows.go command/cliconfig: New CredentialsSource implementation 2019-08-23 11:57:11 -07:00
credentials_test.go Replace import paths & set UA string where necessary 2019-10-11 22:40:54 +01:00
credentials.go command: Fix bug when using terraform login on Windows 2020-03-18 09:08:40 -04:00
provider_installation_test.go command/cliconfig: handle provider_installation block in JSON syntax 2020-04-23 10:52:01 -07:00
provider_installation.go main: Properly handle provider installation method exclusions 2020-04-23 10:52:01 -07:00