{"repo":"IvanOfThings/terraform-provider-clickhouse","free":true,"listed":false,"github":"https://github.com/IvanOfThings/terraform-provider-clickhouse","clone":"git clone https://github.com/IvanOfThings/terraform-provider-clickhouse.git","description":"Terraform provider for Clickhouse databases management","language":"Go","stars":20,"topics":["hacktoberfest","terraform-provider","clickhouse"],"license":"MPL-2.0","category":"deployment-docker-iac","readme_excerpt":"Terraform Provider: Clickhouse (Terraform Plugin SDK) This template repository is built on the Terraform Plugin SDK. The template repository built on the Terraform Plugin Framework can be found at terraform-provider-scaffolding-framework. See Which SDK Should I Use? in the Terraform documentation for additional information. ---- This is a terraform provider plugin for managing Clickhouse databases and tables in a simple way. Note : This provider it's in a very early state so only few table engines are allowed for replicated tables so far. Requirements - Terraform = 0.13.x - Go = 1.19 Building The Provider 1. Clone the repository 1. Enter the repository directory 1. Build the provider using the Go install command: Adding Dependencies This provider uses Go modules. Please see the Go documentation for the most up to date information about using Go modules. To add a new dependency github.com/author/dependency to your Terraform provider: Then commit the changes to go.mod and go.sum . Using the provider Definining provider. The port should be the Clickhouse native protocol port (9000 by default, and 9440 for Clickhouse Cloud) In order to definte url, username and password in a safety way it is possible to define them using env vars: Clustered server Configuring provider Creating a Database Clustered server using Altinity Clickhouse Operator I is possible to use macros defined for cluster, databases, installation names in Altinity operator when creating resources. Creating tables Cr","default_branch":null,"files":null,"tree":[],"storefront":"/r/IvanOfThings","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/IvanOfThings/terraform-provider-clickhouse/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}