mysql
dodevops/mysql/azure
Highly opinionated management of Azure DB for MySQL resources
Azure DB for MySQL Introduction This module manages resources for Azure DB for MySQL using the flexible server deployment. More details are available in the following sources: - Terraform AzureRM provider flexible server resource type - Microsoft flexible server documentation Usage Instantiate the module by calling it from Terraform like this: ``hcl module "azure-mysql" { source = "dodevops/mysql/azure" version = " " } ` Requirements The following requirements are needed by this module: - terraform (>=1.0.0) - azurerm (>=3.63.0) Providers The following providers are used by this module: - azurerm (>=3.63.0) Modules No modules. Resources The following resources are used by this module: - azurerm_mysql_flexible_database.db (resource) - azurerm_mysql_flexible_server.server (resource) - azurer
| Name | Type | Description | Default |
|---|---|---|---|
| project | string | Three letter project key | required |
| stage | string | Stage for this ressource group | required |
| charset | string | Charset for the databases, which needs to be a valid MySQL charset | required |
| admin_password | string | Admin password | required |
| location | string | The azure location used for azure | required |
| collation | string | Charset for the databases, which needs to be a valid MySQL charset | required |
| database_suffixes | list(string) | List of suffixes for databases to be created | required |
| resource_group | string | Azure Resource Group to use | required |
| geo_redundant_backup_enabled | bool | Whether backups should be geo redundant | false |
| configurations | map(string) | Additional MySQL configurations | {} |
| availability_zone | string | The availability zone the server will be created in | "1" |
| database_version | string | Database version to use | "8.0.21" |
| allowed_ips | map(object({ start = strin | A hash of permissions to access the database server by ip. The hash key is t | {} |
| database_storage_size | string | Required database storage (in GB) | "20" |
| suffix | string | Naming suffix to allow multiple instances of this module | "" |
| backup_retention_days | number | Number of days to keep backups | 7 |
| admin_login | string | Admin login | "mysqladmin" |
| database_storage_iops | number | IO operations per second. If database_storage_io_scaling_enabled is true, this v | 3600 |
| delegated_subnet_id | string | The id of a subnet that the server will be created in if private-only access is | null |
| private_dns_zone_id | string | The id of the private dns zone when using private-only access | null |
| database_host_sku | string | SKU for the database server to use | "GP_Standard_D4ds_v4" |
| database_storage_autogrow | bool | Autogrow storage when limit is reached? | true |
| database_storage_io_scaling_enabled | bool | Enables IOPS auto scaling. If true, database_storage_iops will be ignored | false |
admin_passworddatabasesserver_fqdn — FQDN of the database serviceadmin_loginTerraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Azure Verified Pattern Module for Azure Landing Zone
Terraform Azure Verified Resource Module for Key Vault
Terraform module for building and deploying Next.js apps to AWS. Supports SSR (L