opentofu/internal/command/cliconfig
Martin Atkins a86cef4d50 cliconfig: Allow breaking the dependency lock file using the environment
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.
2023-02-22 12:23:56 -08:00
..
testdata Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
cliconfig_test.go cliconfig: Allow breaking the dependency lock file using the environment 2023-02-22 12:23:56 -08:00
cliconfig.go cliconfig: Allow breaking the dependency lock file using the environment 2023-02-22 12:23:56 -08:00
config_unix.go Upgrade to Go 1.17 2021-08-17 15:20:05 -07:00
config_windows.go Upgrade to Go 1.17 2021-08-17 15:20:05 -07:00
credentials_test.go fix(creds): allow periods in TF_TOKEN_... credentials vars 2022-04-15 12:38:14 -06:00
credentials.go fix(creds): allow periods in TF_TOKEN_... credentials vars 2022-04-15 12:38:14 -06:00
provider_installation_test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
provider_installation.go cliconfig: more provider_installation err detail (#32722) 2023-02-21 18:18:57 +00:00