mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Since it's already possible to activate the dependency lock file using an environment variable, we should allow opting in to it having broken behavior using the environment too. It's kinda odd in retrospect that TF_PLUGIN_CACHE_DIR is the only setting we allow to be configured both in the environment and the CLI configuration. That means that the infrastructure for dealing with that situation was relatively immature here and so I did some light refactoring to make it unit-testable without actually modifying the test program's environment. |
||
---|---|---|
.. | ||
testdata | ||
cliconfig_test.go | ||
cliconfig.go | ||
config_unix.go | ||
config_windows.go | ||
credentials_test.go | ||
credentials.go | ||
provider_installation_test.go | ||
provider_installation.go |