Skip to content

Commit

Permalink
Fix 201-mysql-fs-db (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-yechenwei authored Nov 14, 2023
1 parent 72c7e78 commit 757cdd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion quickstart/201-mysql-fs-db/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ resource "azurerm_private_dns_zone_virtual_network_link" "default" {
private_dns_zone_name = azurerm_private_dns_zone.default.name
resource_group_name = azurerm_resource_group.rg.name
virtual_network_id = azurerm_virtual_network.default.id

depends_on = [azurerm_subnet.default]
}

# Manages the MySQL Flexible Server
Expand Down Expand Up @@ -103,4 +105,4 @@ resource "azurerm_mysql_flexible_server" "default" {
}

depends_on = [azurerm_private_dns_zone_virtual_network_link.default]
}
}

0 comments on commit 757cdd7

Please sign in to comment.