ionoscloud_mariadb_cluster_v2
Creates and manages an IONOS CLOUD MariaDB V2 Cluster.
Example Usage
resource "ionoscloud_datacenter" "example" {
name = "example"
location = "de/txl"
}
resource "ionoscloud_lan" "example" {
datacenter_id = ionoscloud_datacenter.example.id
public = false
name = "example"
}
resource "ionoscloud_mariadb_cluster_v2" "example" {
location = "de/txl"
name = "my-mariadb-cluster"
description = "MariaDB cluster"
version = "11.4"
logs_enabled = true
metrics_enabled = true
instances = {
count = 1
cores = 1
ram = 4
storage_size = 10
}
connections = {
datacenter_id = ionoscloud_datacenter.example.id
lan_id = ionoscloud_lan.example.id
primary_instance_address = "192.168.2.101/24"
}
backup = {
location = "eu-central-3"
retention_days = 7
}
maintenance_window = {
time = "09:00:00"
day_of_the_week = "Sunday"
}
credentials = {
username = "dbadmin"
password = "P@ssw0rd123!"
database = "my_database"
}
}Argument Reference
Attributes Reference
Import
Last updated
Was this helpful?