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
31
if [ "$CURRENT_ACCOUNT"!="$EXPECTED_ACCOUNT" ];then
32
32
echo"AWS account mismatch!"
33
-
# MSG="The 'ENV' arg '$APIM_ENV_NAME' for APIM maps to the AWS env '$AWS_ENV_NAME' and account $EXPECTED_ACCOUNT, but the current AWS account is $CURRENT_ACCOUNT."
34
-
# echo "$MSG"
35
-
# echo "The 'ENV' arg $APIM_ENV_NAME for APIM maps to the AWS env $AWS_ENV_NAME and account $EXPECTED_ACCOUNT, but the current AWS account is $CURRENT_ACCOUNT."
36
-
# echo "APIM environment : $APIM_ENV_NAME"
37
-
# echo "Expected AWS environment: $AWS_ENV_NAME"
38
-
# echo "Expected account: $EXPECTED_ACCOUNT"
39
-
# echo "Actual account : $CURRENT_ACCOUNT"
40
-
# echo "The APIM '$APIM_ENV_NAME' environment is mapped to the AWS '$AWS_ENV_NAME' environment and account $EXPECTED_ACCOUNT, but the current AWS account is $CURRENT_ACCOUNT."
41
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."
42
34
echo"Please switch to the correct AWS account and try again."
0 commit comments