feat: role-chaining

This commit is contained in:
peterwoodworth committed 2023-06-21 16:45:34 -07:00
1 parent 20f59875fe
commit d26f2d03f8
8 files changed
+67 -70

No files matched your search

+1 -1
View File
@@ -35,7 +35,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) {
const client = credentialsClient.getStsClient();
const client = credentialsClient.stsClient;
const identity = await client.send(new GetCallerIdentityCommand({}));
const accountId = identity.Account;
if (!accountId) {