Skip to content

Commit 18a7843

Browse files
authored
Only output identity for non-free (#1258)
1 parent cb723a8 commit 18a7843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/core/search/search-services.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ resource search 'Microsoft.Search/searchServices@2021-04-01-preview' = {
6262
output id string = search.id
6363
output endpoint string = 'https://${name}.search.windows.net/'
6464
output name string = search.name
65-
output principalId string = search.identity.principalId
65+
output principalId string = (sku.name == 'free') ? '' : search.identity.principalId

0 commit comments

Comments
 (0)