page_title | subcategory | description |
---|---|---|
tidbcloud_cluster_specs Data Source - terraform-provider-tidbcloud |
cluster_specs data source |
cluster_specs data source
terraform {
required_providers {
tidbcloud = {
source = "tidbcloud/tidbcloud"
}
}
}
provider "tidbcloud" {
public_key = "fake_public_key"
private_key = "fake_private_key"
}
data "tidbcloud_cluster_specs" "example" {
}
output "output" {
value = data.tidbcloud_cluster_specs.example
}
id
(String) data source ID.items
(Attributes List) (see below for nested schema)total
(Number) the total number of the spec.
Read-Only:
cloud_provider
(String) Enum: "AWS" "GCP", The cloud provider on which your TiDB cluster is hosted.cluster_type
(String) Enum: "DEDICATED" "DEVELOPER", The cluster type.region
(String) the region value should match the cloud provider's region code.tidb
(Attributes List) The list of TiDB specifications in the region. (see below for nested schema)tiflash
(Attributes List) The list of TiFlash specifications in the region. (see below for nested schema)tikv
(Attributes List) The list of TiKV specifications in the region. (see below for nested schema)
Read-Only:
node_quantity_range
(Attributes) The range and step of node quantity of the TiDB component in the cluster. (see below for nested schema)node_size
(String) The size of the TiDB component in the cluster.
Read-Only:
min
(Number) The minimum node quantity of the component in the cluster.step
(Number) The step of node quantity of the component in the cluster.
Read-Only:
node_quantity_range
(Attributes) The range and step of node quantity of the TiFlash component in the cluster. (see below for nested schema)node_size
(String) The size of the TiFlash component in the cluster.storage_size_gib_range
(Attributes) The storage size range for each node of the TiFlash component in the cluster. (see below for nested schema)
Read-Only:
min
(Number) The minimum node quantity of the component in the cluster.step
(Number) The step of node quantity of the component in the cluster.
Read-Only:
max
(Number) The maximum storage size for each node of the component in the cluster.min
(Number) The minimum storage size for each node of the component in the cluster.
Read-Only:
node_quantity_range
(Attributes) The range and step of node quantity of the TiKV component in the cluster. (see below for nested schema)node_size
(String) The size of the TiKV component in the cluster.storage_size_gib_range
(Attributes) The storage size range for each node of the TiKV component in the cluster. (see below for nested schema)
Read-Only:
min
(Number) The minimum node quantity of the component in the cluster.step
(Number) The step of node quantity of the component in the cluster.
Read-Only:
max
(Number) The maximum storage size for each node of the component in the cluster.min
(Number) The minimum storage size for each node of the component in the cluster.