---
title: "Announcing support for ClickStack in the ClickHouse Terraform provider"
description: "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."
url: "https://swe.quest/articles/announcing-support-for-clickstack-in-the-clickhouse-terraform-provider-6073258c01f3d44f"
canonical: "https://clickhouse.com/blog/clickstack-terraform-provider"
source: "ClickHouse"
published: "2026-08-14"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 9
tags: ["infrastructure-as-code","observability","api-design"]
---

# Announcing support for ClickStack in the ClickHouse Terraform provider

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-08-14, 9 min read, Announcement. Original: [https://clickhouse.com/blog/clickstack-terraform-provider](https://clickhouse.com/blog/clickstack-terraform-provider)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Infrastructure as code](https://swe.quest/tags/infrastructure-as-code.md) (Infrastructure)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [API design](https://swe.quest/tags/api-design.md) (Backend & APIs)

## Prerequisites

- Terraform basics ([easy posts on Infrastructure as code](https://swe.quest/tags/infrastructure-as-code.md?difficulty=easy))
- Observability dashboards ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))

## Keywords

ClickHouse, ClickStack, Terraform, ClickHouse Cloud, OpenAPI, HyperDX

## Related posts

- [Using ClickHouse Cloud and Terraform for CI/CD](https://swe.quest/articles/using-clickhouse-cloud-and-terraform-for-ci-cd-825467f2e42309bb.md): ClickHouse · 2023-07-13 · Medium · 13 min read · Infrastructure as code, CI/CD, Testing, Cloud platforms, Cost optimization
  ClickHouse's new Terraform provider, built on the ClickHouse Cloud API, can provision ephemeral ClickHouse Cloud services for CI.
- [Terraform & OpenAPI for ClickPipes is now Generally Available](https://swe.quest/articles/terraform-openapi-for-clickpipes-is-now-generally-available-fd4c0a6c8bc9212b.md): ClickHouse · 2026-04-20 · Medium · 7 min read · Infrastructure as code, Data pipelines, Analytics & OLAP, API design
  ClickPipes, ClickHouse Cloud's managed ingestion service, is now generally available in the ClickHouse Terraform provider (v3.14.0+) and via stable OpenAPI endpoints.
- [What's new in ClickStack. September '25.](https://swe.quest/articles/what-s-new-in-clickstack-september-25-cea5d142df9ea015.md): ClickHouse · 2025-09-30 · Medium · 7 min read · Observability, Analytics & OLAP, Open source
  ClickStack's September 2025 release adds JSON dashboard import/export in HyperDX, custom aggregations through any ClickHouse aggregate function (e.g. stddevPop), and user-supplied OTel Collector YAML.
- [Introducing ClickStack embedded in ClickHouse](https://swe.quest/articles/introducing-clickstack-embedded-in-clickhouse-5655542c4f7400aa.md): ClickHouse · 2026-03-05 · Medium · 8 min read · Observability, Build systems, C & C++, Analytics & OLAP
  Starting with ClickHouse 26.2, the ClickStack (HyperDX) observability UI ships inside the ClickHouse binary at /clickstack, adding about 4 MB, for local exploration of logs, traces, metrics and ClickHouse's own system tables.
- [What's new in ClickStack - Aug ’26](https://swe.quest/articles/what-s-new-in-clickstack-aug-26-6426e76d49852a0f.md): ClickHouse · 2026-09-16 · Medium · 16 min read · Observability, Analytics & OLAP, LLMs
  ClickStack v2.34–v2.38 centers on dashboards: dashboard variables are now GA, letting a filter's selection be substituted into raw SQL, builder fields, Lucene and PromQL, with macros like $\_\_filter and $\_\_conditionalAll to handle empty selections and chained dropdowns.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
