Skip to content

Commit

Permalink
Use Index for PrivateLink when referring to AI Search
Browse files Browse the repository at this point in the history
  • Loading branch information
albal committed Jan 11, 2024
1 parent 5e01333 commit a49ca5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Terraform/private-endpoint.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ resource "azurerm_private_endpoint" "searchprivateendpoint" {

private_service_connection {
name = var.search_private_endpoint_conn_name[terraform.workspace]
private_connection_resource_id = azurerm_search_service.ai-search.id
private_connection_resource_id = azurerm_search_service.ai-search[0].id
subresource_names = ["searchService"]
is_manual_connection = false
}
Expand Down

0 comments on commit a49ca5f

Please sign in to comment.