bluemix-go icon indicating copy to clipboard operation
bluemix-go copied to clipboard

endpoint specification documentation?

Open clnperez opened this issue 2 years ago • 3 comments

I'm not finding much in the way of whether or not there's a mechanism to override endpoints. I did find this: https://github.com/IBM-Cloud/bluemix-go/blob/master/session/session.go#L83 -- but it's not clear what that's for without a lot of digging through the code.

clnperez avatar Jul 13 '22 17:07 clnperez

@hkantare?

clnperez avatar Jul 13 '22 17:07 clnperez

For example, could I use something aside from cloud.ibm.com, like xyz.cloud.ibm.com?

clnperez avatar Jul 13 '22 17:07 clnperez

Maybe this is the same, and the TF uses this file? https://github.com/IBM-Cloud/terraform-provider-ibm/blob/7fbcf165cad71ce243d6c4bb92975cfc6c21da9b/website/docs/guides/custom-service-endpoints.html.md

[edit] looks like it to me: https://github.com/IBM-Cloud/terraform-provider-ibm/blob/bb361b7b02a3aa2e7f2e0de89bdc8193c4390b65/ibm/conns/config.go#L3268

clnperez avatar Jul 15 '22 20:07 clnperez