Skip to content

Commit

Permalink
Removing max_connections configuration and changing sku to 2vcore
Browse files Browse the repository at this point in the history
  • Loading branch information
twerthi committed Feb 11, 2022
1 parent 9745824 commit 0db9896
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resource "azurerm_mysql_server" "permanent" {
administrator_login = var.azure_mysql_administrator_name
administrator_login_password = var.azure_mysql_administrator_password

sku_name = "B_Gen5_1"
sku_name = "B_Gen5_2"
version = "8.0"
storage_mb = 5120
backup_retention_days = 7
Expand Down Expand Up @@ -35,10 +35,3 @@ resource "azurerm_mysql_configuration" "log_bin_trust_function_creators" {
server_name = azurerm_mysql_server.permanent.name
value = "ON"
}

resource "azurerm_mysql_configuration" "max_connections" {
name = "max_connections"
resource_group_name = azurerm_resource_group.permanent.name
server_name = azurerm_mysql_server.permanent.name
value = "100"
}

0 comments on commit 0db9896

Please sign in to comment.