opentofu/command/cliconfig
Martin Atkins b8856c677c cliconfig: Ignore config dir if TF_CLI_CONFIG_FILE envvar is set
When we originally introduced this environment variable it was intended to
solve for the use-case where a particular invocation of Terraform needs
a different CLI configuration than usual, such as if Terraform is being
run as part of an automated test suite or other sort of automated
situation with different needs than normal use.

However, we accidentally had it only override the original singleton CLI
config file, while leaving the CLI configuration directory still enabled.
Now we'll take the CLI configuration out of the equation too, so that only
the single specified configuration file and any other environment-sourced
settings will be included.
2020-04-23 10:52:01 -07:00
..
testdata command/cliconfig: Decode provider_installation blocks 2020-04-21 15:48:07 -07:00
cliconfig_test.go command/cliconfig: Decode provider_installation blocks 2020-04-21 15:48:07 -07:00
cliconfig.go cliconfig: Ignore config dir if TF_CLI_CONFIG_FILE envvar is set 2020-04-23 10:52:01 -07: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: Decode provider_installation blocks 2020-04-21 15:48:07 -07:00
provider_installation.go command/cliconfig: Decode provider_installation blocks 2020-04-21 15:48:07 -07:00