Skip to content

vegassor/terraform-provider-clickhouse

Repository files navigation

Terraform Provider ClickHouse

Once you've written your provider, you'll want to publish it on the Terraform Registry so that others can use it.

Requirements

TODO

  • Provider
    • Add HTTP (port 8123) configuration support
  • Resources
    • Implement import
    • Handle missing resources: do not fail if a resource does not exist, but set empty state
    • Grant privilege resource
      • Check if grants break the resource and cause re-creation on every plan
      • Implement partial revoke support
    • Role resource
    • Grant role resource
    • View resource
    • Row policy resource
    • Named collections resource
    • Dictionary resource
    • MatView resource
    • Table
      • Add support for settings block
      • Add full_name output as a computed field, equal to db_name.table_name
      • MergeTree family
      • RabbitMQ table
  • Add datasources
  • Tests
    • Acceptance tests
    • Test more ClickHouse versions
    • Run SQL tests in parallel
  • Release
    • Configure GitHub Actions to publish the provider to the Terraform Registry