We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f67721 commit 5e4f7a0Copy full SHA for 5e4f7a0
shared-scripts.sh
@@ -364,10 +364,6 @@ function useChildAccountCredentials {
364
echo "Unable to find a child account. Fatal error and test run aborted"
365
exit 1
366
fi
367
-
368
- export AWS_REGION=$CLI_REGION
369
- export AWS_DEFAULT_REGION=$CLI_REGION
370
371
creds=$(aws sts assume-role --role-arn arn:aws:iam::${pick_acct}:role/OrganizationAccountAccessRole --role-session-name testSession${session_id} --duration-seconds 3600)
372
if [ -z $(echo $creds | jq -c -r '.AssumedRoleUser.Arn') ]; then
373
echo "Unable to assume child account role. Fatal error and test run aborted"
0 commit comments