Closed
Description
After upgrading to provider version 1.2.4
, trying to apply terraform
fails with the following error:
Error: Error Updating ClickHouse Service Scaling
with clickhouse_service.events
on clickhouse.tf line 42, in resource "clickhouse_service" "events":
resource "clickhouse_service" "events" {
Could not update service scaling, unexpected error: status: 400, body: {"requestId":"2b03ac68-e70b-4eb7-a0c5-4e6c54476de8","error":"BAD_REQUEST: request body.numReplicas: Number of replicas must be greater than 3 <number:0>","status":400}
As documented in the provider, num_replicas
is only support on production
instances. However, even when omitting the num_replicas
configuration altogether, or passing null
as the value, the provider still attempts to reconcile it.