This shell function (ibmcloud_login) fails due to the following command not working.
IBMCLOUD_API_ENDPOINT=$(ibmcloud api | awk '/'$BLUEMIX_REGION'/{ print $2 }')
This is due to the ibmcloud api command not listing the API endpoints anymore?
$ ibmcloud api
No api endpoint set. Use 'ibmcloud api' to set an endpoint
Default api endpoint: https://cloud.ibm.com
Can we just remove the use of the ibmcloud_login function entirely and ask the user to login as a per-requisite instructions? Either that or ask the user to provide the IBMCLOUD_API_ENDPOINT endpoint directly rather than trying dynamically determine it.
Indeed, I had not been using the most recent CLI. I've removed the offending command, commented out the function in the scripts, and manually set the endpoint in the environment file in #10
This shell function (
ibmcloud_login
) fails due to the following command not working.This is due to the
ibmcloud api
command not listing the API endpoints anymore?Can we just remove the use of the
ibmcloud_login
function entirely and ask the user to login as a per-requisite instructions? Either that or ask the user to provide the IBMCLOUD_API_ENDPOINT endpoint directly rather than trying dynamically determine it.