|
5 | 5 | "_generator": { |
6 | 6 | "name": "bicep", |
7 | 7 | "version": "0.34.44.8038", |
8 | | - "templateHash": "8953208502938265930" |
| 8 | + "templateHash": "6290258568261172226" |
9 | 9 | } |
10 | 10 | }, |
11 | 11 | "parameters": { |
|
57 | 57 | "uniqueId": "[toLower(uniqueString(subscription().id, parameters('Prefix'), resourceGroup().location))]", |
58 | 58 | "UniquePrefix": "[format('cm{0}', padLeft(take(variables('uniqueId'), 12), 12, '0'))]", |
59 | 59 | "ResourcePrefix": "[take(format('cm{0}{1}', parameters('Prefix'), variables('UniquePrefix')), 15)]", |
60 | | - "imageVersion": "rc1", |
| 60 | + "imageVersion": "fnd01", |
61 | 61 | "location": "[resourceGroup().location]", |
62 | 62 | "dblocation": "[resourceGroup().location]", |
63 | 63 | "cosmosdbDatabase": "cmsadb", |
|
349 | 349 | "[extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry')]" |
350 | 350 | ] |
351 | 351 | }, |
| 352 | + { |
| 353 | + "type": "Microsoft.Authorization/roleAssignments", |
| 354 | + "apiVersion": "2022-04-01", |
| 355 | + "scope": "[format('Microsoft.MachineLearningServices/workspaces/{0}', format('{0}-prj', variables('ResourcePrefix')))]", |
| 356 | + "name": "[guid(toLower(format('{0}Bck-ca', variables('ResourcePrefix'))), resourceId('Microsoft.MachineLearningServices/workspaces', format('{0}-prj', variables('ResourcePrefix'))), resourceId('Microsoft.Authorization/roleDefinitions', '64702f94-c441-49e6-a78b-ef80e0188fee'))]", |
| 357 | + "properties": { |
| 358 | + "roleDefinitionId": "[resourceId('Microsoft.Authorization/roleDefinitions', '64702f94-c441-49e6-a78b-ef80e0188fee')]", |
| 359 | + "principalId": "[reference(resourceId('Microsoft.App/containerApps', toLower(format('{0}Bck-ca', variables('ResourcePrefix')))), '2023-05-01', 'full').identity.principalId]" |
| 360 | + }, |
| 361 | + "dependsOn": [ |
| 362 | + "[resourceId('Microsoft.App/containerApps', toLower(format('{0}Bck-ca', variables('ResourcePrefix'))))]" |
| 363 | + ] |
| 364 | + }, |
352 | 365 | { |
353 | 366 | "type": "Microsoft.Resources/deployments", |
354 | 367 | "apiVersion": "2022-09-01", |
|
374 | 387 | "_generator": { |
375 | 388 | "name": "bicep", |
376 | 389 | "version": "0.34.44.8038", |
377 | | - "templateHash": "17863870312619064541" |
| 390 | + "templateHash": "107965290127824528" |
378 | 391 | } |
379 | 392 | }, |
380 | 393 | "parameters": { |
|
472 | 485 | "_generator": { |
473 | 486 | "name": "bicep", |
474 | 487 | "version": "0.34.44.8038", |
475 | | - "templateHash": "10664495342911727649" |
476 | | - "version": "0.34.44.8038", |
477 | | - "templateHash": "10664495342911727649" |
| 488 | + "templateHash": "7479964703030361933" |
478 | 489 | } |
479 | 490 | }, |
480 | 491 | "parameters": { |
|
610 | 621 | "_generator": { |
611 | 622 | "name": "bicep", |
612 | 623 | "version": "0.34.44.8038", |
613 | | - "templateHash": "8087543237770345715" |
| 624 | + "templateHash": "13939205582736222851" |
614 | 625 | } |
615 | 626 | }, |
616 | 627 | "parameters": { |
|
0 commit comments