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
-`endpoints` (Attributes) Allow to enable and configure additional endpoints (read protocols) to expose on the ClickHouse service. (see [below for nested schema](#nestedatt--endpoints))
62
-
-`has_transparent_data_encryption` (Boolean) If true, the Transparent Data Encryption (TDE) feature is enabled in the service. Only supported in AWS and GCP. Requires an organization with the Enterprise plan.
63
62
-`idle_scaling` (Boolean) When set to true the service is allowed to scale down to zero when idle.
64
63
-`idle_timeout_minutes` (Number) Set minimum idling timeout (in minutes). Must be greater than or equal to 5 minutes. Must be set if idle_scaling is enabled.
65
64
-`max_replica_memory_gb` (Number) Maximum memory of a single replica during auto-scaling in Gb. Must be a multiple of 8. `max_replica_memory_gb` x `num_replicas` (default 3) must be lower than 360 for non paid services or 720 for paid services.
-`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).
74
73
-`release_channel` (String) Release channel to use for this service. Either 'default' or 'fast'. Switching from 'fast' to 'default' release channel is not supported.
75
74
-`tier` (String) Tier of the service: 'development', 'production'. Required for organizations using the Legacy ClickHouse Cloud Tiers, must be omitted for organizations using the new ClickHouse Cloud Tiers.
75
+
-`transparent_data_encryption` (Attributes) Configuration of the Transparent Data Encryption (TDE) feature. Requires an organization with the Enterprise plan. (see [below for nested schema](#nestedatt--transparent_data_encryption))
76
76
-`warehouse_id` (String) ID of the warehouse to share the data with. Must be in the same cloud and region.
77
77
78
78
### Read-Only
@@ -155,6 +155,18 @@ Optional:
155
155
-`allowed_origins` (String) Comma separated list of domain names to be allowed cross-origin resource sharing (CORS) access to the query API. Leave this field empty to restrict access to backend servers only
Description: "If true, the Transparent Data Encryption (TDE) feature is enabled in the service. Only supported in AWS and GCP. Requires an organization with the Enterprise plan.",
"It is not possible to disable TDE (Transparend data encryption) on an existing service.",
555
+
)
556
+
}
557
+
558
+
if!isEnabled&&wantEnabled {
559
+
resp.Diagnostics.AddAttributeError(
560
+
path.Root("transparent_data_encryption.enabled"),
561
+
"Invalid Update",
562
+
"It is not possible to enable TDE (Transparend data encryption) on an existing service.",
563
+
)
564
+
}
565
+
566
+
ifisKey!=""&&wantKey=="" {
567
+
resp.Diagnostics.AddAttributeError(
568
+
path.Root("transparent_data_encryption.key_id"),
569
+
"Invalid Update",
570
+
"It is not possible to remove the key_id for TDE (Transparend data encryption) on a service. If the KeyID was updated outside terraform, please set the same value in the transparent_data_encryption.key_id field.",
0 commit comments