File tree Expand file tree Collapse file tree
infra/modules/ai-services Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,6 @@ module openAiPrivateDnsZone '../privateDnsZone.bicep' = if (privateNetworking !=
9090 name : take ('${name }-openai-pdns-deployment' , 64 )
9191 params : {
9292 name : 'privatelink.openai.${toLower (environment ().name ) == 'azureusgovernment' ? 'azure.us' : 'azure.com' }'
93- // location: location
9493 virtualNetworkResourceId : privateNetworking .?virtualNetworkResourceId ?? ''
9594 tags : tags
9695 }
@@ -128,7 +127,7 @@ module cognitiveService 'br/public:avm/res/cognitive-services/account:0.11.0' =
128127 publicNetworkAccess : privateNetworking != null ? 'Disabled' : 'Enabled'
129128 // rules to allow firewall and virtual network access
130129 networkAcls : {
131- defaultAction : 'Deny'
130+ defaultAction : privateNetworking != null ? 'Deny' : 'Allow '
132131 bypass : 'AzureServices'
133132 virtualNetworkRules : privateNetworking != null ? [
134133 {
You can’t perform that action at this time.
0 commit comments