From 366d234caf83051b8f0e2cd4efa99bcb16206cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahlstr=C3=B6m=20Kalle?= Date: Thu, 18 Jan 2024 11:14:10 +0200 Subject: [PATCH] switch to serverless cosmosDB until change to PostgreSQL --- modules/web/storage/main.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/web/storage/main.tf b/modules/web/storage/main.tf index cf9344c..f694fe8 100644 --- a/modules/web/storage/main.tf +++ b/modules/web/storage/main.tf @@ -9,6 +9,12 @@ resource "azurerm_cosmosdb_account" "db_account" { capabilities { name = "EnableMongo" } + capabilities { + name = "EnableServerless" + } + capabilities { + name = "EnableMongoRetryableWrites" + } consistency_policy { consistency_level = "Session" }