Skip to content

Commit

Permalink
[CES-107] Fix Private Endpoint definitions for Cosmos DBs (#1234)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krusty93 authored Oct 7, 2024
1 parent 22a47fa commit 9864646
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/domains/messages-common/01_network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ resource "azurerm_private_endpoint" "cosno_reminder_itn" {
name = "${local.project_itn}-msgs-reminder-cosno-pep-01"
private_connection_resource_id = module.cosmosdb_account_mongodb_reminder.id
is_manual_connection = false
subresource_names = ["Sql"]
subresource_names = ["MongoDB"]
}
}

Expand All @@ -69,7 +69,7 @@ resource "azurerm_private_endpoint" "cosno_remote_content_itn" {

private_service_connection {
name = "${local.project_itn}-msgs-remote-content-cosno-pep-01"
private_connection_resource_id = module.cosmosdb_account_mongodb_reminder.id
private_connection_resource_id = module.cosmosdb_account_remote_content.id
is_manual_connection = false
subresource_names = ["Sql"]
}
Expand Down
2 changes: 1 addition & 1 deletion src/domains/payments-common/01_network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ resource "azurerm_private_endpoint" "cosno_payments_itn" {
name = "${local.project_itn}-msgs-payments-cosno-pep-01"
private_connection_resource_id = module.cosmosdb_account_mongodb.id
is_manual_connection = false
subresource_names = ["Sql"]
subresource_names = ["MongoDB"]
}
}

0 comments on commit 9864646

Please sign in to comment.