Skip to content

Commit b4da100

Browse files
committed
Update main.tf
1 parent 0729855 commit b4da100

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

main.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ resource "azurerm_postgresql_flexible_server" "db" {
3333
backup_retention_days = var.backup_retention_days
3434

3535
# Private VNet-integrated deployment
36-
delegated_subnet_id = var.subnet_id
37-
private_dns_zone_id = azurerm_private_dns_zone.postgres.id
36+
delegated_subnet_id = var.subnet_id
37+
private_dns_zone_id = azurerm_private_dns_zone.postgres.id
38+
public_network_access_enabled = false
3839

3940
tags = var.tags
4041

0 commit comments

Comments
 (0)