You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Compare the current account with the expected account
31
14
if [ "$CURRENT_ACCOUNT"!="$EXPECTED_ACCOUNT" ];then
32
15
echo"AWS account mismatch!"
33
-
echo"The expected mapping for the argument 'ENV=$APIM_ENV_NAME' is AWS '$AWS_ENV_NAME' account $EXPECTED_ACCOUNT, but the current AWS account is $CURRENT_ACCOUNT."
16
+
echo"The expected login is AWS '$APIM_ENV_NAME' account $EXPECTED_ACCOUNT, but the current logged in AWS account is $CURRENT_ACCOUNT."
34
17
echo"Please switch to the correct AWS account and try again."
35
18
echo"Exiting script..."
36
19
exit 1
37
20
fi
38
21
39
-
echo"Active login to AWS '$AWS_ENV_NAME' account $CURRENT_ACCOUNT verified."
22
+
echo"Active login to AWS '$APIM_ENV_NAME' account $CURRENT_ACCOUNT verified."
0 commit comments