I use the Mac OS Terminal command line utility. In my utility, variables are case-sensitive. The first step in Step 2 sets IAM_TOKEN. The corresponding echo command should be uppercase. The command was successful when I changed the echo statement to uppercase for the variable only > echo $IAM_TOKEN.
In step 2, please change the command from
echo $iam_token
toecho $IAM_TOKEN
. https://cloud.ibm.com/docs/transit-gateway?topic=transit-gateway-set-up-environment#get-iam-tokenI use the Mac OS Terminal command line utility. In my utility, variables are case-sensitive. The first step in Step 2 sets IAM_TOKEN. The corresponding echo command should be uppercase. The command was successful when I changed the echo statement to uppercase for the variable only >
echo $IAM_TOKEN
.