Closed jthomas closed 6 years ago
This feature has now been implemented.
https://github.com/serverless/serverless-openwhisk#binding-services-ibm-cloud-functions
@jthomas That's great, thanks! Can we bind multiple services (e.g. messagehub AND cloudant) and how would that look like in the yml?
@regmebaby absolutely, see example here:
functions:
my_function:
handler: file_name.handler
bind:
- service:
name: cloud-object-storage
instance: my-cos-storage
- service:
name: another_service
instance: my-instance-name
Couple of caveats...
Available through
bx wsk service bind