mirror of
https://github.com/opentofu/setup-opentofu.git
synced 2026-11-30 03:44:21 +01:00
chore: migrated terraformrc to tofurc
details: - https://github.com/opentofu/setup-opentofu/pull/2#discussion_r1347306740 - https://github.com/opentofu/setup-opentofu/pull/2#discussion_r1347357109 - https://github.com/opentofu/setup-opentofu/pull/2#discussion_r1347356063 Signed-off-by: Dmitry Kisler <admin@dkisler.com>
This commit is contained in:
4 files changed
+15
-15
No files matched your search
+2
-2
@@ -105,8 +105,8 @@ credentials "${credentialsHostname}" {
|
||||
|
||||
// default to OS-specific path
|
||||
let credsFile = osPlat === 'win32'
|
||||
? `${process.env.APPDATA}/terraform.rc`
|
||||
: `${process.env.HOME}/.terraformrc`;
|
||||
? `${process.env.APPDATA}/tofu.rc`
|
||||
: `${process.env.HOME}/.tofurc`;
|
||||
|
||||
// override with TF_CLI_CONFIG_FILE environment variable
|
||||
credsFile = process.env.TF_CLI_CONFIG_FILE ? process.env.TF_CLI_CONFIG_FILE : credsFile;
|
||||
|
||||
Reference in new issue
Block a user