From 4449a64416b3e496fcda29ed1ffbf4ae7598f3fe Mon Sep 17 00:00:00 2001 From: James Gunn Date: Thu, 8 Aug 2024 13:10:41 +0100 Subject: [PATCH] Set postgres wal_level to logical (#1454) --- terraform/aks/databases.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/terraform/aks/databases.tf b/terraform/aks/databases.tf index 365d096aa..40ad8476a 100644 --- a/terraform/aks/databases.tf +++ b/terraform/aks/databases.tf @@ -37,3 +37,9 @@ module "postgres" { azure_sku_name = var.postgres_flexible_server_sku azure_enable_high_availability = var.postgres_enable_high_availability } + +resource "azurerm_postgresql_flexible_server_configuration" "wal_level" { + name = "wal_level" + server_id = module.postgres.azure_server_id + value = "logical" +}