From 83b110b353f57d60f7dfca4d3ecca29f49d4ab38 Mon Sep 17 00:00:00 2001 From: Lars Waage <46653859+larwaa@users.noreply.github.com> Date: Wed, 9 Oct 2024 22:34:32 +0200 Subject: [PATCH] chore: disable public network access for postgres --- infrastructure/modules/postgres/main.tf | 1 + 1 file changed, 1 insertion(+) 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