debug messages

This commit is contained in:
Michael Lehmann
2025-06-04 15:06:41 -07:00
committed by kellertk
parent c97f36fa83
commit 623eede63e
2 changed files with 3 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ export class CredentialsClient {
}
private async loadCredentials() {
info('trying to load credentials');
const client = new STSClient({
requestHandler: this.requestHandler ? this.requestHandler : undefined,
});

View File

@@ -205,7 +205,9 @@ export async function run() {
if (!process.env.GITHUB_ACTIONS || AccessKeyId) {
await credentialsClient.validateCredentials(roleCredentials.Credentials?.AccessKeyId);
}
core.info(`validated credentials`);
await exportAccountId(credentialsClient, maskAccountId);
core.info(`exported account id`);
} else {
core.info('Proceeding with IAM user credentials');
}