Terraform & OpenAPI for ClickPipes is now Generally Available
ClickPipes, ClickHouse Cloud's managed ingestion service, is now generally available in the ClickHouse Terraform provider (v3.14.0+) and via stable OpenAPI endpoints. Coverage now includes CDC pipes for Postgres, MySQL and MongoDB, BigQuery and Azure Blob connectors, S3/GCS unordered mode and reverse private endpoints, with SSH tunneling still missing. A walkthrough shows how to configure a Postgres CDC pipe in HCL and import existing pipes using import blocks and -generate-config-out. A known limitation is that importing Postgres CDC pipes requires applying with stopped = true first so credentials are written to state.
Related posts
- clickhousectl v0.2.0: Postgres, ClickPipes and more
ClickHouse mediumAdept
clickhousectl v0.2.0 adds Postgres management, both local (Docker-backed, keyed on name and major version 16–18) and as ClickHouse Cloud managed Postgres. It also adds ClickPipes commands for Kafka, Kinesis, object storage, CDC from Postgres/MySQL/MongoDB and BigQuery snapshots, plus SQL over HTTP through Query Endpoints so no local ClickHouse binary is needed. Query Endpoints are locked to a per-service API key whose only grant is a sql_console_admin binding, so a leaked key reaches one service only. Other changes include Markdown-style table output that uses fewer tokens for agents, a --debug flag for credential resolution, and a standalone typed async Rust crate, clickhouse-cloud-api.
- MongoDB CDC connector for ClickPipes is now generally available
ClickHouse easyNovice
ClickHouse Cloud's MongoDB CDC connector for ClickPipes, built on MongoDB Change Streams, is generally available after moving over 1.5PB for hundreds of customers. GA adds parallel snapshotting that splits collections into sampled `_id` ranges, and a structured ingestion mode that infers a schema and maps top-level fields to typed columns. Unexpected fields and type mismatches are routed to a `_peerdb_malformed_data` JSON column. It also adds pre-image support so deletes carry full documents, source-side delete filtering, resource and replication-lag metrics (source, destination, end-to-end) exposed via Prometheus, and Terraform/OpenAPI management. Billing starts November 4, 2026, with a claimed 5-10x cost advantage over third-party ETL tools.
- Announcing support for ClickStack in the ClickHouse Terraform provider
ClickHouse mediumAdept
The ClickHouse/clickhouse Terraform provider now manages ClickStack dashboards, alerts, sources, saved searches, connections and webhooks for both self-hosted and Managed ClickStack, in beta from v3.25. The support was added as a separate service module inside the existing provider rather than as a new provider, so Cloud deployments reuse the same API credentials and self-hosted ones use an endpoint plus a personal API key. Supporting it meant tightening the ClickStack OpenAPI contract with named types, consistent integer fields and structured validation errors. Dashboard JSON is also validated against the ClickStack API during terraform plan, falling back to a warning on older versions. A walkthrough covers creating a dashboard with jsonencode, importing existing resources including generated import blocks and bulk export, and a caveat that UI edits are not detected as drift and can be overwritten.
- Using ClickHouse Cloud and Terraform for CI/CD
ClickHouse mediumAdept
ClickHouse's new Terraform provider, built on the ClickHouse Cloud API, can provision ephemeral ClickHouse Cloud services for CI. The ClickHouse Go client's GitHub Actions tests were moved off a shared, always-on production service, which had been a single point of failure, caused table explosion and concurrent-DDL ZooKeeper load, and made logs hard to debug. Each test run now creates its own development-tier service with Terraform, runs the suite and destroys the service, usually in under 10 minutes. The walkthrough covers API token setup, provider configuration with secret tfvars, the HCL service resource with host and service-id outputs, and the changes to the workflow.
- What's new in clickhousectl v0.4.0
ClickHouse mediumAdept
clickhousectl v0.4.0 adds horizontal autoscaling flags for ClickHouse Cloud services (min/max replicas, mutually exclusive with vertical memory-range flags), beta ClickPipe schema discovery for Kafka and Kinesis sources, and new ingestion controls such as --skip-initial-load, --start-after for continuous object-storage pipes and --server-id for MySQL CDC pipes. Postgres config patch now does true partial updates, OAuth tokens move to a global ~/.clickhouse/tokens.json, and local server stop becomes idempotent while local remove refuses to delete a version in use unless --force is passed. The release also introduces anonymous opt-out telemetry that records flag names but never values, and can be disabled via a command, DO_NOT_TRACK=1, or compiled out with cargo build --no-default-features.