Skip to content

Commit b8089c7

Browse files
authored
Merge pull request #8 from MicrosoftCloudEssentials-LearningHub/adjusting-tf-with-guidenames
names update
2 parents f48f9af + a32dd6d commit b8089c7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

terraform-infrastructure/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ resource "azurerm_storage_account" "storage" {
2727

2828
# Blob Container for Input Files
2929
resource "azurerm_storage_container" "input_container" {
30-
name = "input"
30+
name = "pdfinvoices"
3131
storage_account_id = azurerm_storage_account.storage.id
3232
container_access_type = "private"
3333

@@ -205,7 +205,7 @@ resource "azurerm_cosmosdb_sql_container" "outputcvscontainer" {
205205
account_name = azurerm_cosmosdb_account.cosmosdb.name
206206
database_name = azurerm_cosmosdb_sql_database.main.name
207207
throughput = var.throughput
208-
partition_key_paths = ["/definition/id"]
208+
partition_key_paths = ["/transactionId"]
209209
partition_key_version = 1
210210

211211
indexing_policy {

terraform-infrastructure/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ variable "form_recognizer_name" {
6060

6161
variable "cosmosdb_sqldb_name" {
6262
description = "The name of the Cosmos DB SQL database to be created."
63-
default = "outputdb"
63+
default = "ContosoDBDocIntellig"
6464
}
6565

6666
variable "sql_container_name" {
6767
description = "The name of the Cosmos DB SQL container to be created within the database."
68-
default = "outputcvscontainer"
68+
default = "Invoices"
6969
}
7070

7171
variable "throughput" {

0 commit comments

Comments
 (0)