ionoscloud_mariadb_clusters_v2
Lists IONOS CLOUD MariaDB V2 Clusters.
The ionoscloud_mariadb_clusters_v2 data source can be used to retrieve information about existing MariaDB V2 clusters in a given location, with an optional name filter.
Example Usage
data "ionoscloud_mariadb_clusters_v2" "all" {
location = "de/txl"
}
data "ionoscloud_mariadb_clusters_v2" "filtered" {
location = "de/txl"
name = "my-cluster"
}Argument Reference
location- (Required)[string] The location to query. Available locations:de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci.name- (Optional)[string] Filter clusters by name (partial match — the value is passed directly to the API's name filter, so it matches any cluster name containing the given string, not only an exact match).
Attributes Reference
The following attributes are returned by the datasource:
items- List of clusters. Each item exposes the same attributes as the ionoscloud_mariadb_cluster_v2 data source. Note thatcredentials.passwordis not available — onlycredentials.usernameandcredentials.databaseare returned by the API.
Last updated
