mirror of
https://github.com/opentofu/setup-opentofu.git
synced 2025-12-06 07:50:37 +00: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:
parent
a8c9f4d930
commit
1add52fd80
4 changed files with 15 additions and 15 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue