From 91a87933a3791cab5bd0d45ad5c76f233039220c Mon Sep 17 00:00:00 2001 From: Simone infante <52280205+infantesimone@users.noreply.github.com> Date: Wed, 12 Jun 2024 10:57:15 +0200 Subject: [PATCH] feat(mongo-wallet): CHK-2945 upgrade mongo 6 for wallet (#2132) * feat: upgrade mongo 6 for wallet * fix precommit --- src/domains/pay-wallet-common/03_cosmosdb.tf | 10 +++++----- .../pay-wallet-common/env/itn-dev/terraform.tfvars | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/domains/pay-wallet-common/03_cosmosdb.tf b/src/domains/pay-wallet-common/03_cosmosdb.tf index 23da89ead4..3b530cfa15 100644 --- a/src/domains/pay-wallet-common/03_cosmosdb.tf +++ b/src/domains/pay-wallet-common/03_cosmosdb.tf @@ -15,11 +15,11 @@ module "cosmosdb_account_mongodb" { resource_group_name = azurerm_resource_group.cosmosdb_pay_wallet_rg.name domain = var.domain - offer_type = var.cosmos_mongo_db_params.offer_type - kind = var.cosmos_mongo_db_params.kind - capabilities = var.cosmos_mongo_db_params.capabilities - mongo_server_version = var.cosmos_mongo_db_params.server_version - enable_free_tier = var.cosmos_mongo_db_params.enable_free_tier + offer_type = var.cosmos_mongo_db_params.offer_type + kind = var.cosmos_mongo_db_params.kind + capabilities = var.cosmos_mongo_db_params.capabilities + #mongo_server_version = var.cosmos_mongo_db_params.server_version + enable_free_tier = var.cosmos_mongo_db_params.enable_free_tier public_network_access_enabled = var.cosmos_mongo_db_params.public_network_access_enabled private_endpoint_enabled = var.cosmos_mongo_db_params.private_endpoint_enabled diff --git a/src/domains/pay-wallet-common/env/itn-dev/terraform.tfvars b/src/domains/pay-wallet-common/env/itn-dev/terraform.tfvars index 5fc4ad523b..4d21008690 100644 --- a/src/domains/pay-wallet-common/env/itn-dev/terraform.tfvars +++ b/src/domains/pay-wallet-common/env/itn-dev/terraform.tfvars @@ -55,7 +55,7 @@ cosmos_mongo_db_params = { max_interval_in_seconds = 5 max_staleness_prefix = 100000 } - server_version = "4.2" + server_version = "6.0" main_geo_location_zone_redundant = false enable_free_tier = false