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 { 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" {