Why does my service binding to a Db2 Enterprise instance fail?
You cannot create a Code Engine service binding with a Db2 Enterprise service instance when you use the CLI or API. You receive a failed error message.
Db2 Enterprise does not support the IBM writer role that is used by default for Code Engine service bindings.
Try one of these solutions.
-
If you are using the CLI to create the service binding with the Db2 Enterprise service instance to your Code Engine app or job, use the
--role Manager
option when you run theibmcloud ce application bind
command or theibmcloud ce job bind
command. -
Use the console to create the service binding with the Db2 Enterprise service instance to your Code Engine app or job, and specify the role of
Manager
.