The azure-mysql module contains all resources that is required for creating an MYSQL instance.
| Inputs | Type | Required/Optional | Description |
Default |
|---|---|---|---|---|
| administrator_login | string | Optional | The admin username for mysql database | mysqladmin |
| administrator_password | string | Required | The admin password for mysql database | "" |
| backup_retention_days | number | Optional | Backup retention days for the server | 7 |
| charset | string | Optional | Specific character set encoding | utf8 |
| cluster_name | string | Required | Name of the cluster to which MySQL instance is attached with | |
| collation | string | Optional | This is the collation type | utf8_unicode_ci |
| databases | list(string) | Required | Specifies the name of the MySQL Database | [] |
| key_vault_id | string | Required | Id of the azure key vault | |
| location | string | Required | Azure location for SQL Server | "" |
| mysql_server_name | string | Required | The name of the sql server | "" |
| mysql_version | string | Optional | Version of the mysql database | 5.7 |
| namespace | string | Required | Namespace to which MySQL instance is attached with | |
| read_replica | bool | Optional | To enable read replica for source mysql server | false |
| resource_group_name | string | Required | Azure resource group name for SQL server | "" |
| sku_name | string | Optional | Indicates the type of virtual machine with vCPUs and memory | GP_Standard_D2ds_v4 |
| tags | map(any) | Required | Tags for aws resources | |
| zone | number | Optional | Zone for resources | 2 |