mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-11-30 03:34:22 +01:00
chore: vnext unit tests (#758)
* fix: unit tests * get unit tests running
This commit is contained in:
1 parent
d26f2d03f8
commit
7526948ef9
7 files changed
+50
-164
No files matched your search
+1
-1
@@ -34,7 +34,7 @@ export function exportRegion(region: string) {
|
||||
}
|
||||
|
||||
// Obtains account ID from STS Client and sets it as output
|
||||
export async function exportAccountId(credentialsClient: CredentialsClient, maskAccountId?: string) {
|
||||
export async function exportAccountId(credentialsClient: CredentialsClient, maskAccountId?: boolean) {
|
||||
const client = credentialsClient.stsClient;
|
||||
const identity = await client.send(new GetCallerIdentityCommand({}));
|
||||
const accountId = identity.Account;
|
||||
|
||||
Reference in new issue
Block a user