Skip to content

Commit 7fe68a5

Browse files
Change disableLocalAuthentication condition
1 parent 8318bd2 commit 7fe68a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/modules/cosmosDb.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ module cosmosAccount 'br/public:avm/res/document-db/database-account:0.15.0' = {
9090
backupPolicyType: !empty(secondaryLocation) ? 'Periodic' : 'Continuous'
9191
backupStorageRedundancy: zoneRedundant ? 'Zone' : 'Local'
9292
disableKeyBasedMetadataWriteAccess: false
93-
disableLocalAuthentication: true
93+
disableLocalAuthentication: privateNetworking != null
9494
diagnosticSettings: !empty(logAnalyticsWorkspaceResourceId)
9595
? [{ workspaceResourceId: logAnalyticsWorkspaceResourceId }]
9696
: []

0 commit comments

Comments
 (0)