Skip to content

Commit cec7fa7

Browse files
committed
debug for profile path env vars
1 parent 8b2481d commit cec7fa7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

dist/index.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/profileManager.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ export function getProfileFilePaths(): ProfileFilePaths {
7575
const credentialsPath = process.env.AWS_SHARED_CREDENTIALS_FILE || path.join(os.homedir(), '.aws', 'credentials');
7676
const configPath = process.env.AWS_CONFIG_FILE || path.join(os.homedir(), '.aws', 'config');
7777

78+
core.debug('Provided Enviroment Variables:');
79+
core.debug(`Credentials env var: ${process.env.AWS_SHARED_CREDENTIALS_FILE || 'no creds file provided'}`);
80+
core.debug(`Config env var: ${process.env.AWS_CONFIG_FILE || 'no config file provided'}`);
81+
82+
core.debug(`Using credentials file: ${credentialsPath}`);
83+
core.debug(`Using config file: ${configPath}`);
84+
7885
return {
7986
credentials: credentialsPath,
8087
config: configPath,

0 commit comments

Comments
 (0)