Skip to content

ClickHouse/terraform-provider-clickhousedbops

Repository files navigation

Clickhouse DB ops Terraform Provider

Docs Dependabot Updates Unit tests

This is the official Terraform provider for ClickHouse database operations.

With this Terraform provider you can:

  • Manage databases in a ClickHouse instance using the clickhousedbops_database resource
  • Manage users in a ClickHouse instance using the clickhousedbops_user resource
  • Manage roles in a ClickHouse instance using the clickhousedbops_role resource
  • Manage role grants in a ClickHouse instance using the clickhousedbops_grant_role resource
  • Manage privilege grants in a ClickHouse instance using the clickhousedbops_grant_privilege resource

Getting started

The clickhousedbops_user requires at least terraform 1.11, while the other resources should work with older versions too.

You can find examples in the examples/tests directory.

Please refer to the official docs for more details.

Migrating from terraform-provider-clickhouse

Please read the Migration guide

Development and contributing

Please read the Development readme