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
I'm trying to generate the .wskprops file, but am unable to do so. I've logged in via ibmcloud login, but the commands I've seen referenced throw errors indicating that I need to use CloudFoundry.
All of the commands below
ibmcloud fn list
ibmcloud fn api
ibmcloud fn property get --auth
generate
A target Org and Space must be specified. Use 'ibmcloud target --cf' or 'ibmcloud target -o ORG -s SPACE' to set these values.
However, it appears that CloudFoundry is deprecated? Am I doing something wrong, is this a bug, or is the OpenWhisk interface no longer supported?
The text was updated successfully, but these errors were encountered:
To run the three commands above successfully, you first need to target either your IAM-based Cloud Functions namespace (which requires targeting resource group first) or your CF-based Cloud Functions namespace (which requires targeting your CF org/space first).
Also, I think auth in fn property get --auth is specific to CF-based namespaces, not relevant / not needed for IAM-based namespaces.
To give you an example:
# IAM-based namespace
ibmcloud login -r <region> -g <resource-group>
ibmcloud fn namespace list # allows to see both CF-based and IAM-based namespaces
ibmcloud fn namespace target <fn-namespace>
ibmcloud fn list
# CF-based namespace
ibmcloud login -r <region> -o <org> -s <space>
ibmcloud fn list
OK. So that appears to let me target those functions from the CLI! Thanks!
So, given the lack of functional ibmcloud fn property get --auth command, I am correct in understanding that it's no longer possible to manage functions with OpenWhisk enabled tools (e.g. Serverless Framework)? It doesn't seem like a huge deal, but I'd like to be clear if that's not an unsupported use-case.
I'm trying to generate the
.wskprops
file, but am unable to do so. I've logged in viaibmcloud login
, but the commands I've seen referenced throw errors indicating that I need to use CloudFoundry.All of the commands below
generate
However, it appears that CloudFoundry is deprecated? Am I doing something wrong, is this a bug, or is the OpenWhisk interface no longer supported?
The text was updated successfully, but these errors were encountered: