alicloud_click_house_db_clusters

This data source provides the Click House DBCluster of the current Alibaba Cloud user.

Example Usage

Basic Usage

resource "alicloud_click_house_db_cluster" "default" {
  db_cluster_version      = "20.3.10.75"
  category                = "Basic"
  db_cluster_class        = "S8"
  db_cluster_network_type = "vpc"
  db_node_group_count     = "1"
  payment_type            = "PayAsYouGo"
  db_node_storage         = "500"
  storage_type            = "cloud_essd"
  vswitch_id              = "your_vswitch_id"
}

data "alicloud_click_house_db_clusters" "default" {
  ids = [alicloud_click_house_db_cluster.default.id]
}
output "db_cluster" {
  value = data.alicloud_click_house_db_clusters.default.ids.0
}

Argument Reference

The following arguments are supported:

Argument Reference

The following attributes are exported in addition to the arguments listed above: