db-mysql-flexible
claranet/db-mysql-flexible/azurerm
Terraform module composition (feature) for Azure MySQL Flexible Database
Azure Database for MySQL Flexible server Azure Managed DB - MySQL Flexible     This Terraform module creates an Azure MySQL Flexible server with databases and associated admin users, along with enabled logging and firewall rules. Following MySQL configuration options are set by default and can be overridden with the options variable or fully disabled by setting the variable recommended_options_enabled to false: `` slow_query_log: ON long_query_time: 5 interactive_timeout: 28800 wait_timeout: 28800 innodb_change_buffering: all innodb_change_buffer_max_size: 50 innodb_print_all_deadlocks: ON max_allowed_packet: 1073741824 # 1GB ex
| Name | Type | Description | Default |
|---|---|---|---|
| resource_group_name | string | Resource Group name. | required |
| stack | string | Project stack name. | required |
| location | string | Azure location. | required |
| location_short | string | Short string for Azure location. | required |
| environment | string | Project environment. | required |
| client_name | string | Client name/account used in naming. | required |
| logs_destinations_ids | list(string) | List of destination resources IDs for logs diagnostic destination. Can be `Stora | required |
| default_tags_enabled | bool | Option to enable or disable default tags. | true |
| public_network_access_enabled | bool | Whether approved public traffic is allowed through the firewall to this server. | false |
| geo_redundant_backup_enabled | bool | Enable or disable geo-redundant server backups. Not available for the burstable | true |
| maintenance_window | object({ day_of_week = op | Map of maintenance window configuration. See [documentation](https://docs.micros | null |
| zone | number | Specifies the Availability Zone in which this MySQL Flexible server should be lo | null |
| options | map(string) | Map of MySQL configuration options. See [documentation](https://dev.mysql.com/do | {} |
| audit_logs_enabled | bool | Whether MySQL audit logs are enabled. Categories `CONNECTION`, `ADMIN`, `CONNE | false |
| delegated_subnet | object({ id = string }) | The ID of the Virtual Network Subnet to create the MySQL Flexible server. | null |
| recommended_options_enabled | bool | Whether or not to use recommended options. | true |
| entra_authentication | object({ user_assigned_ide | Azure Entra authentication configuration block for this Azure MySQL Flexible ser | {} |
| custom_name | string | Custom server name. | "" |
| administrator_login | string | MySQL administrator login. Required when `create_mode = "Default"`. | null |
| source_server_id | string | The resource ID of the source MySQL Flexible server to be restored. | null |
| backup_vault_policy | object({ policy_id = | Backup vault policy configuration to use for MySQL Flexible Long term retention | null |
| logs_metrics_categories | list(string) | Metrics categories to send to destinations. | null |
| name_suffix | string | Optional suffix for the generated name. | "" |
| tier | string | Tier for MySQL Flexible server SKU. Possible values are: `GeneralPurpose`, `Burs | "GeneralPurpose" |
| identity_ids | list(string) | A list of User Assigned Managed Identity IDs to be assigned to this MySQL Flexib | [] |
| allowed_cidrs | map(string) | Map of allowed CIDRs. | {} |
| ssl_enforced | bool | Enforce SSL connection on MySQL provider. This sets the `require_secure_transpor | true |
| … and 2 more inputs | |||
public_network_access_enabled — Is the public network access enabled?replica_capacity — The maximum number of replicas that a primary MySQL Flexible server can have.fqdn — FQDN of the MySQL Flexible server.firewall_rules_ids — Map of firewall rules IDs.options — MySQL server configuration options.terraform_module — Information about this Terraform module.resource_configuration — Azure MySQL configuration resource object.resource_firewall_rule — Azure MySQL server firewall rule resource object.administrator_login — Administrator login for MySQL Flexible server.databases_ids — Map of databases IDs.databases_names — Map of databases names.module_diagnostics — Diagnostics settings module outputs.name — Name of the Azure MySQL Flexible server.resource — Azure MySQL server resource object.resource_database — Azure MySQL database resource object.id — ID of the Azure MySQL Flexible server.administrator_password — Administrator password for MySQL Flexible server.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,