You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use the clickhouse_service resource to deploy ClickHouse cloud instances on supported cloud providers.
7
+
Known limitations:
8
+
If you create a service with warehouse_id set and then remove warehouse_id attribute completely, the provider won't detect the change. If you want to make a secondary service become primary, remove the warehouse_id and taint it before applying.If you create a service with readonly flag set to true and then remove readonly flag completely, the provider won't detect the change. If you want to make a secondary service read write, explicitly set the readonly flag to false.
7
9
---
8
10
9
11
# clickhouse_service (Resource)
10
12
11
13
You can use the *clickhouse_service* resource to deploy ClickHouse cloud instances on supported cloud providers.
12
14
15
+
Known limitations:
16
+
17
+
- If you create a service with `warehouse_id` set and then remove `warehouse_id` attribute completely, the provider won't detect the change. If you want to make a secondary service become primary, remove the `warehouse_id` and taint it before applying.
18
+
- If you create a service with `readonly` flag set to true and then remove `readonly` flag completely, the provider won't detect the change. If you want to make a secondary service read write, explicitly set the `readonly` flag to false.
-`num_replicas` (Number) Number of replicas for the service. Available only for 'production' services. Must be between 3 and 20. Contact support to enable this feature.
63
70
-`password` (String, Sensitive) Password for the default user. One of either `password` or `password_hash` must be specified.
64
71
-`password_hash` (String, Sensitive) SHA256 hash of password for the default user. One of either `password` or `password_hash` must be specified.
72
+
-`readonly` (Boolean) Indicates if this service should be read only. Only allowed for secondary services, those which share data with another service (i.e. when `warehouse_id` field is set).
65
73
-`release_channel` (String) Release channel to use for this service. Either 'default' or 'fast'. Only supported on 'production' services. Switching from 'fast' to 'default' release channel is not supported.
74
+
-`warehouse_id` (String) ID of the warehouse to share the data with. Must be in the same cloud and region.
66
75
67
76
### Read-Only
68
77
69
78
-`endpoints` (Attributes List) List of public endpoints. (see [below for nested schema](#nestedatt--endpoints))
70
79
-`iam_role` (String) IAM role used for accessing objects in s3.
71
80
-`id` (String) ID of the created service. Generated by ClickHouse Cloud.
81
+
-`is_primary` (Boolean) If true, it indicates this is a primary service using its own data. If false it means this service is a secondary service, thus using data from a warehouse.
72
82
-`private_endpoint_config` (Attributes) Service config for private endpoints (see [below for nested schema](#nestedatt--private_endpoint_config))
You can use the *clickhouse_service* resource to deploy ClickHouse cloud instances on supported cloud providers.
2
+
3
+
Known limitations:
4
+
5
+
- If you create a service with `warehouse_id` set and then remove `warehouse_id` attribute completely, the provider won't detect the change. If you want to make a secondary service become primary, remove the `warehouse_id` and taint it before applying.
6
+
- If you create a service with `readonly` flag set to true and then remove `readonly` flag completely, the provider won't detect the change. If you want to make a secondary service read write, explicitly set the `readonly` flag to false.
0 commit comments