Skip to content

Commit 3e9392e

Browse files
updated bicep
1 parent baeaa3a commit 3e9392e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

infra/main.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.37.4.10188",
9-
"templateHash": "248859536639134473"
9+
"templateHash": "15752320925479265002"
1010
},
1111
"name": "Document Generation Solution Accelerator",
1212
"description": "CSA CTO Gold Standard Solution Accelerator for Document Generation.\n"
@@ -23418,9 +23418,9 @@
2341823418
}
2341923419
},
2342023420
"dependsOn": [
23421+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
2342123422
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
2342223423
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
23423-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
2342423424
"logAnalyticsWorkspace",
2342523425
"userAssignedIdentity",
2342623426
"virtualNetwork"
@@ -35885,6 +35885,10 @@
3588535885
{
3588635886
"name": "TENANT-ID",
3588735887
"value": "[subscription().tenantId]"
35888+
},
35889+
{
35890+
"name": "AZURE-AI-AGENT-ENDPOINT",
35891+
"value": "[if(variables('useExistingAiFoundryAiProject'), format('https://{0}.services.ai.azure.com/api/projects/{1}', variables('aiFoundryAiServicesResourceName'), variables('aiFoundryAiProjectResourceName')), reference('aiFoundryAiServicesProject').outputs.apiEndpoint.value)]"
3588835892
}
3588935893
]
3589035894
}
@@ -39007,6 +39011,7 @@
3900739011
}
3900839012
},
3900939013
"dependsOn": [
39014+
"aiFoundryAiServicesProject",
3901039015
"aiSearch",
3901139016
"avmPrivateDnsZones",
3901239017
"cosmosDB",

infra/main_custom.bicep

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,6 +1201,9 @@ module webSite 'modules/web-sites.bicep' = {
12011201
UWSGI_THREADS: '2'
12021202
APP_ENV: appEnvironment
12031203
AZURE_CLIENT_ID: userAssignedIdentity.outputs.clientId
1204+
AZURE_BASIC_LOGGING_LEVEL: 'INFO'
1205+
AZURE_PACKAGE_LOGGING_LEVEL: 'WARNING'
1206+
AZURE_LOGGING_PACKAGES: ''
12041207
}
12051208
// WAF aligned configuration for Monitoring
12061209
applicationInsightResourceId: enableMonitoring ? applicationInsights!.outputs.resourceId : null

0 commit comments

Comments
 (0)