Skip to content

Commit 5e4f7a0

Browse files
committed
chore: test run
Signed-off-by: Kevin Shan <[email protected]>
1 parent 7f67721 commit 5e4f7a0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

shared-scripts.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,6 @@ function useChildAccountCredentials {
364364
echo "Unable to find a child account. Fatal error and test run aborted"
365365
exit 1
366366
fi
367-
368-
export AWS_REGION=$CLI_REGION
369-
export AWS_DEFAULT_REGION=$CLI_REGION
370-
371367
creds=$(aws sts assume-role --role-arn arn:aws:iam::${pick_acct}:role/OrganizationAccountAccessRole --role-session-name testSession${session_id} --duration-seconds 3600)
372368
if [ -z $(echo $creds | jq -c -r '.AssumedRoleUser.Arn') ]; then
373369
echo "Unable to assume child account role. Fatal error and test run aborted"

0 commit comments

Comments
 (0)