Skip to content

Commit

Permalink
Add io_scaling_enabled option to MySQL Flexible
Browse files Browse the repository at this point in the history
  • Loading branch information
Caio Venturini Braga committed Jul 22, 2024
1 parent 0e8c991 commit 0f07930
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/databases/mysql_flexible_server/server.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ resource "azurerm_mysql_flexible_server" "mysql" {
for_each = try(var.settings.storage, null) == null ? [] : [var.settings.storage]

content {
auto_grow_enabled = try(var.settings.storage.auto_grow_enabled, "True")
iops = try(var.settings.storage.iops, "360")
size_gb = try(var.settings.storage.size_gb, "20")
auto_grow_enabled = try(var.settings.storage.auto_grow_enabled, "True")
io_scaling_enabled = try(var.settings.storage.io_scaling_enabled, "False")
iops = try(var.settings.storage.iops, "360")
size_gb = try(var.settings.storage.size_gb, "20")
}
}

Expand Down Expand Up @@ -116,4 +117,4 @@ resource "azurerm_key_vault_secret" "mysql_fqdn" {
name = format("%s-mysql-fqdn", azurecaf_name.mysql_flexible_server.result)
value = azurerm_mysql_flexible_server.mysql.fqdn
key_vault_id = var.remote_objects.keyvault_id
}
}

0 comments on commit 0f07930

Please sign in to comment.