|
4 | 4 | "metadata": {
|
5 | 5 | "_generator": {
|
6 | 6 | "name": "bicep",
|
7 |
| - "version": "0.33.93.31351", |
8 |
| - "templateHash": "4845784968033668710" |
| 7 | + "version": "0.34.1.11899", |
| 8 | + "templateHash": "2685036763676904152" |
9 | 9 | }
|
10 | 10 | },
|
11 | 11 | "parameters": {
|
|
74 | 74 | "llmModel": "gpt-4o",
|
75 | 75 | "prefixCleaned": "[replace(toLower(variables('finalName')), '-', '')]",
|
76 | 76 | "storageSkuName": "Standard_LRS",
|
77 |
| - "storageContainerName": "[format('{0}contstorage', variables('prefixCleaned'))]", |
| 77 | + "storageContainerName": "[format('{0}ctstor', variables('prefixCleaned'))]", |
78 | 78 | "gptModelVersion": "2024-08-06",
|
79 | 79 | "storageNameCleanedContainer": "[replace(variables('storageContainerName'), '-', '')]",
|
80 | 80 | "aiServicesName": "[format('{0}-aiservices', variables('prefixCleaned'))]",
|
|
186 | 186 | },
|
187 | 187 | {
|
188 | 188 | "name": "AZURE_BLOB_ACCOUNT_NAME",
|
189 |
| - "value": "[variables('storageNameCleanedContainer')]" |
| 189 | + "value": "[variables('storageContainerName')]" |
190 | 190 | },
|
191 | 191 | {
|
192 | 192 | "name": "AZURE_BLOB_CONTAINER_NAME",
|
|
237 | 237 | "[extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry')]",
|
238 | 238 | "[resourceId('Microsoft.Resources/deployments', toLower(format('{0}conAppsEnv', variables('prefixCleaned'))))]",
|
239 | 239 | "[resourceId('Microsoft.Resources/deployments', toLower(format('{0}database', variables('prefixCleaned'))))]",
|
240 |
| - "[resourceId('Microsoft.Storage/storageAccounts', variables('storageNameCleanedContainer'))]" |
| 240 | + "[resourceId('Microsoft.Storage/storageAccounts', variables('storageContainerName'))]" |
241 | 241 | ]
|
242 | 242 | },
|
243 | 243 | {
|
244 | 244 | "type": "Microsoft.Storage/storageAccounts",
|
245 | 245 | "apiVersion": "2022-09-01",
|
246 |
| - "name": "[variables('storageNameCleanedContainer')]", |
| 246 | + "name": "[variables('storageContainerName')]", |
247 | 247 | "location": "[variables('location')]",
|
248 | 248 | "sku": {
|
249 | 249 | "name": "[variables('storageSkuName')]"
|
|
296 | 296 | {
|
297 | 297 | "type": "Microsoft.Authorization/roleAssignments",
|
298 | 298 | "apiVersion": "2022-04-01",
|
299 |
| - "scope": "[format('Microsoft.Storage/storageAccounts/{0}', variables('storageNameCleanedContainer'))]", |
| 299 | + "scope": "[format('Microsoft.Storage/storageAccounts/{0}', variables('storageContainerName'))]", |
300 | 300 | "name": "[guid(resourceId('Microsoft.App/containerApps', toLower(format('{0}containerBackend', variables('prefixCleaned')))), 'Storage Blob Data Contributor')]",
|
301 | 301 | "properties": {
|
302 | 302 | "roleDefinitionId": "[subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'ba92f5b4-2d11-453d-a403-e96b0029c9fe')]",
|
303 | 303 | "principalId": "[reference(resourceId('Microsoft.App/containerApps', toLower(format('{0}containerBackend', variables('prefixCleaned')))), '2023-05-01', 'full').identity.principalId]"
|
304 | 304 | },
|
305 | 305 | "dependsOn": [
|
306 | 306 | "[resourceId('Microsoft.App/containerApps', toLower(format('{0}containerBackend', variables('prefixCleaned'))))]",
|
307 |
| - "[resourceId('Microsoft.Storage/storageAccounts', variables('storageNameCleanedContainer'))]" |
| 307 | + "[resourceId('Microsoft.Storage/storageAccounts', variables('storageContainerName'))]" |
308 | 308 | ]
|
309 | 309 | },
|
310 | 310 | {
|
|
328 | 328 | },
|
329 | 329 | "type": "Microsoft.Storage/storageAccounts/blobServices/containers",
|
330 | 330 | "apiVersion": "2021-08-01",
|
331 |
| - "name": "[format('{0}/default/{1}', variables('storageNameCleanedContainer'), variables('containerNames')[copyIndex()])]", |
| 331 | + "name": "[format('{0}/default/{1}', variables('storageContainerName'), variables('containerNames')[copyIndex()])]", |
332 | 332 | "properties": {
|
333 | 333 | "publicAccess": "None"
|
334 | 334 | },
|
|
360 | 360 | "metadata": {
|
361 | 361 | "_generator": {
|
362 | 362 | "name": "bicep",
|
363 |
| - "version": "0.33.93.31351", |
364 |
| - "templateHash": "11665286146084422127" |
| 363 | + "version": "0.34.1.11899", |
| 364 | + "templateHash": "11366093186241764702" |
365 | 365 | }
|
366 | 366 | },
|
367 | 367 | "parameters": {
|
|
458 | 458 | "metadata": {
|
459 | 459 | "_generator": {
|
460 | 460 | "name": "bicep",
|
461 |
| - "version": "0.33.93.31351", |
462 |
| - "templateHash": "4388214478635448075" |
| 461 | + "version": "0.34.1.11899", |
| 462 | + "templateHash": "10079365566064414507" |
463 | 463 | }
|
464 | 464 | },
|
465 | 465 | "parameters": {
|
|
596 | 596 | "metadata": {
|
597 | 597 | "_generator": {
|
598 | 598 | "name": "bicep",
|
599 |
| - "version": "0.33.93.31351", |
600 |
| - "templateHash": "10270252950808398257" |
| 599 | + "version": "0.34.1.11899", |
| 600 | + "templateHash": "18164503561501536590" |
601 | 601 | }
|
602 | 602 | },
|
603 | 603 | "parameters": {
|
|
0 commit comments