/terraform-alicloud-clickhouse

Terraform Module for creating ApsaraDB for ClickHouse resources on Alibaba Cloud.

Primary LanguageHCLMIT LicenseMIT

Terraform module which creates ApsaraDB for ClickHouse resources with Clickhouse on Alibaba Cloud.

terraform-alicloud-clickhouse

English | 简体中文

This module is used to create ApsaraDB for ClickHouse resources with Clickhouse on Alibaba Cloud.

These types of resources are supported:

Usage

module "example" {
  source                  = "terraform-alicloud-modules/clickhouse/alicloud"
  #alicloud_click_house_db_cluster
  create_cluster          = true
  db_cluster_version      = "20.3.10.75"
  category                = "Basic"
  db_cluster_class        = "S8"
  db_cluster_network_type = "vpc"
  db_cluster_description  = "tf-test-clickhouse"
  db_node_group_count     = 1
  payment_type            = "PayAsYouGo"
  db_node_storage         = "500"
  storage_type            = "cloud_essd"
  vswitch_id              = "vsw-abc12345"
  #alicloud_click_house_account
  create_account          = true
  account_description     = "tf-test-clickhouse-account"
  account_name            = "testaccountname"
  account_password        = "Tf-testpwd"
}

Examples

Notes

  • This module using AccessKey and SecretKey are from profile and shared_credentials_file. If you have not set them yet, please install aliyun-cli and configure it.

Requirements

Name Version
terraform > = 0.13
alicloud > = 1.134.0

Providers

Name Version
alicloud > = 1.134.0

Submit Issues

If you have any problems when using this module, please opening a provider issue and let us know.

Note: There does not recommend opening an issue on this repo.

Authors

Created and maintained by Alibaba Cloud Terraform Team(terraform@alibabacloud.com).

License

MIT Licensed. See LICENSE for full details.

Reference