Skip to content

Commit

Permalink
administratlor_login change up
Browse files Browse the repository at this point in the history
  • Loading branch information
nasaldrops committed Mar 13, 2024
1 parent 20635fa commit a96a1d7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions templates/workspace_services/gitea/terraform/mysql.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@ resource "azurerm_mysql_flexible_server" "gitea" {
name = "mysql-${local.service_resource_name_suffix}"
resource_group_name = data.azurerm_resource_group.ws.name
location = data.azurerm_resource_group.ws.location
sku_name = "GP_Gen5_2"
version = "8.0"
administrator_login = "mysqladmin"
sku_name = "Standard_D2s_v3"
version = "8.0.21"
backup_retention_days = 7
geo_redundant_backup_enabled = false
public_network_access_enabled = false
tags = local.workspace_service_tags

administrator_login {
username = "mysqladmin"
password = random_password.password.result
}

lifecycle { ignore_changes = [tags] }
}

Expand Down

0 comments on commit a96a1d7

Please sign in to comment.