db-maria

claranet/db-maria/azurerm

Terraform Module HCL AZURERM

Terraform module composition (feature) for Azure MariaDB Database

Install
module "db-maria" {
source = "claranet/db-maria/azurerm"
version = "7.0.1"
}
plain text: /constructs/tfmod-claranet-db-maria-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

Azure Mariadb ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![OpenTofu Registry](https://search.opentofu.org/module/claranet/db-maria/azurerm/) This module creates a MariaDB Server with one or several databases. > ⚠ This module is deprecated, as Microsoft will withdraw this resource in 2025. Please consider moving to our Azure MySQL Flexible module. Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version | | -------------- | ----------------- | ---------------- | --------------- | | >= 8.x.x | Unverified | 1.8.x | >= 4.0 | | >= 7.x.x | 1.3.x | | >= 3.0 | | >= 6.x.x | 1.x | | >= 3.0 | | >= 5.x.x | 0.15.x | | >= 2.0 | | >= 4.x.x | 0.13.x / 0.14.x | | >= 2.0 | | >= 3.x.x | 0.12.x | | >= 2.0 | | >=

Inputs (35)
NameTypeDescriptionDefault
databases_nameslist(string)List of databases names required
locationstringAzure region to use. required
client_namestringClient name/account used in naming. required
logs_destinations_idslist(string)List of destination resources IDs for logs diagnostic destination. Can be `Stora required
environmentstringProject/Application environment. required
stackstringProject/Application stack name. required
location_shortstringShort string for Azure location. required
resource_group_namestringName of the application ressource group. required
custom_diagnostic_settings_namestringCustom name of the diagnostics settings, name will be 'default' if not set."default"
authorized_cidrsmap(string)Map of authorized CIDRs (keys are rule names).{}
auto_grow_enabledboolEnable/Disable auto-growing of the storage.false
storage_mbnumberMax storage allowed for a server. Possible values are between 5120 MB(5GB) and 15120
force_sslboolSpecifies if SSL should be enforced on connections.true
databases_collationmap(string)Specifies the collation for each MariaDB Database: https://mariadb.com/kb/en/lib{}
default_tags_enabledboolOption to enable or disable default tagstrue
name_suffixstringOptional suffix for the generated name""
administrator_passwordstringMariaDB administrator password. Auto-generated if empty. Strong Password: https:""
tierstringTier for MariaDB server SKU: https://www.terraform.io/docs/providers/azurerm/r/m"GeneralPurpose"
databases_charsetmap(string)Specifies the charset for each MariaDB Database: https://mariadb.com/kb/en/libra{}
logs_metrics_categorieslist(string)Metrics categories to send to destinations.null
vnet_rulesmap(string)Map of VNet rules to create (keys are rule names, values are Subnet IDs).{}
mariadb_configurationsmap(string)MariaDB configurations to enable.{}
mariadb_versionstringSpecifies the version of MariaDB to use. Possible values are `10.2` and `10.3`"10.2"
capacitynumberCapacity for MariaDB server SKU: https://www.terraform.io/docs/providers/azurerm4
custom_server_namestringCustom Server Name identifier""
backup_retention_daysnumberBackup retention days for the server, supported values are between 7 and 35 days10
geo_redundant_backup_enabledboolTurn Geo-redundant server backups on/off. Not available for the Basic tier.true
logs_categorieslist(string)Log categories to send to destinations.null
Outputs (12)
mariadb_administrator_login — Administrator login for mariadb server
mariadb_databases_names — List of databases names
mariadb_firewall_rules — Map of mariadb created rules
mariadb_fqdn — FQDN of the mariadb server
mariadb_server_id — mariadb server ID
mariadb_server_name — mariadb server name
terraform_module — Information about this Terraform module
mariadb_administrator_password — Administrator password for mariadb server
mariadb_databases — Map of databases infos
mariadb_database_ids — List of all database resource ids
mariadb_vnet_rules — The map of all vnet rules
mariadb_configurations — The map of all mariadb configurations set
Resources (6)
azurerm_mariadb_configurationazurerm_mariadb_databaseazurerm_mariadb_firewall_ruleazurerm_mariadb_serverazurerm_mariadb_virtual_network_rulerandom_password
Details
FrameworkTerraform Module
LanguageHCL
Version7.0.1
Cloud AZURERM
★ Stars1
Forks4
Total downloads10.1k
Inputs35
Outputs12
Resources6
Examples1
LicenseApache-2.0
Namespaceclaranet
Updated