From c2075e17e71b74afc1384599fae377756b4c34c7 Mon Sep 17 00:00:00 2001 From: Timna Brown <24630902+brown9804@users.noreply.github.com> Date: Wed, 4 Jun 2025 09:25:25 -0600 Subject: [PATCH 1/2] names update --- terraform-infrastructure/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform-infrastructure/main.tf b/terraform-infrastructure/main.tf index b3c8f28..db29602 100644 --- a/terraform-infrastructure/main.tf +++ b/terraform-infrastructure/main.tf @@ -27,7 +27,7 @@ resource "azurerm_storage_account" "storage" { # Blob Container for Input Files resource "azurerm_storage_container" "input_container" { - name = "input" + name = "pdfinvoices" storage_account_id = azurerm_storage_account.storage.id container_access_type = "private" @@ -205,7 +205,7 @@ resource "azurerm_cosmosdb_sql_container" "outputcvscontainer" { account_name = azurerm_cosmosdb_account.cosmosdb.name database_name = azurerm_cosmosdb_sql_database.main.name throughput = var.throughput - partition_key_paths = ["/definition/id"] + partition_key_paths = ["/transactionId"] partition_key_version = 1 indexing_policy { From c7fa06aee76fe00c0db7d77540fb2c42738013ce Mon Sep 17 00:00:00 2001 From: Timna Brown <24630902+brown9804@users.noreply.github.com> Date: Wed, 4 Jun 2025 09:25:57 -0600 Subject: [PATCH 2/2] names adjust --- terraform-infrastructure/variables.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform-infrastructure/variables.tf b/terraform-infrastructure/variables.tf index c57984f..a9ea20a 100644 --- a/terraform-infrastructure/variables.tf +++ b/terraform-infrastructure/variables.tf @@ -60,12 +60,12 @@ variable "form_recognizer_name" { variable "cosmosdb_sqldb_name" { description = "The name of the Cosmos DB SQL database to be created." - default = "outputdb" + default = "ContosoDBDocIntellig" } variable "sql_container_name" { description = "The name of the Cosmos DB SQL container to be created within the database." - default = "outputcvscontainer" + default = "Invoices" } variable "throughput" {