DBaaS MariaDB Cluster
Creates and manages DBaaS MariaDB Cluster objects.
Manages a DBaaS MariaDB Cluster.
Example Usage
Argument reference
mariadb_version
- (Required)[string] The MariaDB version of your cluster.instances
- (Required)[int] The total number of instances in the cluster (one primary and n-1 secondary).location
- (Optional)[string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".cores
- (Required)[int] The number of CPU cores per instance.ram
- (Required)[int] The amount of memory per instance in gigabytes (GB).storage_size
- (Required)[int] The amount of storage per instance in gigabytes (GB).connections
- (Required) The network connection for your cluster. Only one connection is allowed.datacenter_id
- (Required)[true] The datacenter to connect your cluster to.lan_id
- (Required)[true] The numeric LAN ID to connect your cluster to.cidr
- (Required)[true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See Private IPs and Configuring the network.
display_name
- (Required)[string] The friendly name of your cluster.maintenance_window
- (Optional)(Computed) A weekly 4 hour-long window, during which maintenance might occurtime
- (Required)[string] Start of the maintenance window in UTC time.day_of_the_week
- (Required)[string] The name of the week day.
credentials
- (Required) Credentials for the database user to be created.username
- (Required)[string] The username for the initial MariaDB user. Some system usernames are restricted (e.g 'mariadb', 'admin', 'standby').password
- (Required)[string] The password for a MariaDB user.
dns_name
- (Computed)[string] The DNS name pointing to your cluster.
⚠ WARNING:
Location
attribute will become required in the future.
Import
Resource DBaaS MariaDB Cluster can be imported using the cluster_id
and the location
, separated by :
, e.g.
Last updated