diff --git a/infrastructure/modules/postgres/main.tf b/infrastructure/modules/postgres/main.tf index 0d2dde10..6d0d18bc 100644 --- a/infrastructure/modules/postgres/main.tf +++ b/infrastructure/modules/postgres/main.tf @@ -45,6 +45,7 @@ resource "azurerm_postgresql_flexible_server" "this" { sku_name = var.postgres.sku_name version = "14" storage_mb = var.postgres.storage_mb + public_network_access_enabled = false tags = var.tags