-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
vnetRelated to the optional support for private endpoint and Virtual Network deploymentRelated to the optional support for private endpoint and Virtual Network deployment
Description
This issue is for a: (mark with an x
)
- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Deploy the demo with the following config
- usePrivateEndpoint = true
- deploymentTarget = appservice
This will result in failure as the groupid defined in the main.bicep is not a valid groupid for private endpoints
*https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/infra/main.bicep#L1097
List of group ids for databases
The privateendpoint config should look like this
{
groupId: 'sql'
dnsZoneName: 'privatelink.documents.azure.com'
resourceIds: (useAuthentication && useChatHistoryCosmos) ? [cosmosDb.outputs.resourceId] : []
}
Any log messages given by the failure
Expected/desired behavior
Private link for cosmos db, SQL, is correctly setup
To fix this, modify the line https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/infra/main.bicep#L1097
to sql
instead
{
groupId: 'sql'
dnsZoneName: 'privatelink.documents.azure.com'
resourceIds: (useAuthentication && useChatHistoryCosmos) ? [cosmosDb.outputs.resourceId] : []
}
OS and Version?
N/A
azd version?
azd version 1.11.0
Versions
Metadata
Metadata
Assignees
Labels
vnetRelated to the optional support for private endpoint and Virtual Network deploymentRelated to the optional support for private endpoint and Virtual Network deployment