Closed clawrence121 closed 1 day ago
Hi @clawrence121
this is a bit tricky, because only selected customers currently have access to compute-compute separation and we have to be careful what features we expose through the terraform provider.
let me ask product team about this and get back to you.
Hey @whites11, thank you for the response, that all makes sense.
Looking forward to hearing back, happy to raise a PR or maintain a fork in the short term if it's easier.
Hello @clawrence121 and thanks for your patience.
We discussed your proposal internally and decided we don't want to officially expose compute-compute separation on our terraform provider until it goes GA (likely next year).
That being said, the API that supports this feature is already public, so it shouldn't be too hard to implement your own fork, if that is what you want. Please understand that if you decide to do so, you are on your own about this as we can't officially support you in this endeavor.
On a high level, what you would need to do is this:
dataWarehouseId
field from the responsedataWarehouseId
field with the value you got above.optionally you can mark the secondary service as read only by specifying the isReadonly
field in the create service API call.
While unlikely, it might be that we'll change this API interface in the future, and you'll need to deal with that yourself, should that happen.
I will go on and close this ticket, feel free to still comment here if you have anything else to share with us.
Thanks for using ClickHouse cloud!
We have just received access to the compute compute separation beta and would like to spin up a read-only cluster to add to our main service.
I can do this through the UI with the
Share data with another service
toggle when creating a new service, but ideally would like to manage it through TF as our services are all defined there currently.From the docs it doesn't look like there is a way to configure this yet, is it on the roadmap? If not, happy to raise a PR, I believe it would be adding dataWarehouseId to the service?
Thanks!