Dmitry Kisler 2023-10-09 22:46:28 +02:00
parent a8c9f4d930
commit 1add52fd80
No known key found for this signature in database
GPG key ID: 46C0A987D58548F6
4 changed files with 15 additions and 15 deletions

4
dist/index.js vendored
View file

@ -180,8 +180,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;