Global InfraGlobal Infra Cloud
DbaaS Postgres

Cluster

Terraform reference for Cluster.

Schema Properties

PropertyTypeDescription
arch
Required
integerCluster architecture (e.g., 64 for 64-bit).
boarding
stringOnboarding state of the cluster.
cluster
Required
stringName or identifier of the cluster.
nodes
Required
list(object)List of nodes in the cluster.
sgbd
Required
stringDatabase engine used by the cluster.
sync_state
stringSynchronization state of the cluster.
vip
stringVirtual IP address associated with the cluster.
Data Source
data "gi_dbaas_pg_clusters" "filtered" {  limit = 10  skip  = 0  filter {    field    = "arch"    operator = "eq"    value    = "example-value"  }  sort {    field      = "arch"    descending = false  }}# Access resultsoutput "cluster_list" {  value = data.gi_dbaas_pg_clusters.filtered.clusters[*].attributes.arch}

Usage Notes