oci-service-broker
oci-service-broker copied to clipboard
Not able to interrupt/cancel ATP provisioning
In some cases when ATP provisioning takes longer than expected - we may want to cancel the current request and retry again by changing parameters or region etc.
Or we may simply want to defer the creation of ATP.
Or for the cases where we might have passed in incorrect parameters (for example incorrect password or say incorrect cpuCount) - we want to cancel the request.
Currently it does not seems possible - once perform a Create on ServiceInstance for ATP - a delete is effective only after that ATP has been configured. This is costly for cases as described above and similar to OCI console - one should be able to Terminate a still provisioning ATP instance using the broker.
There is no restriction on the OCI Service broker side to delete an instance that is being provisioned(provided it is supported by the service). But unfortunately, the service catalog has restrictions and it won't allow users to delete the instance that is not in a final state.