|
6 | 6 | "_generator": {
|
7 | 7 | "name": "bicep",
|
8 | 8 | "version": "0.35.1.17967",
|
9 |
| - "templateHash": "8798142813454376636" |
| 9 | + "templateHash": "4778084734742710121" |
10 | 10 | }
|
11 | 11 | },
|
12 | 12 | "parameters": {
|
|
546 | 546 | "containerApp"
|
547 | 547 | ]
|
548 | 548 | },
|
549 |
| - "aiDevelopertoAIProject": { |
550 |
| - "type": "Microsoft.Authorization/roleAssignments", |
551 |
| - "apiVersion": "2022-04-01", |
552 |
| - "scope": "[format('Microsoft.CognitiveServices/accounts/{0}', variables('aiServicesName'))]", |
553 |
| - "name": "[guid(variables('aiServicesName'), resourceId('Microsoft.MachineLearningServices/workspaces', format('{0}-aiproject', parameters('prefix'))), resourceId('Microsoft.Authorization/roleDefinitions', '64702f94-c441-49e6-a78b-ef80e0188fee'))]", |
554 |
| - "properties": { |
555 |
| - "roleDefinitionId": "[resourceId('Microsoft.Authorization/roleDefinitions', '64702f94-c441-49e6-a78b-ef80e0188fee')]", |
556 |
| - "principalId": "[reference('aiHubProject', '2024-01-01-preview', 'full').identity.principalId]" |
557 |
| - }, |
558 |
| - "dependsOn": [ |
559 |
| - "aiHubProject", |
560 |
| - "aiServices" |
561 |
| - ] |
562 |
| - }, |
563 | 549 | "kvault": {
|
564 | 550 | "type": "Microsoft.Resources/deployments",
|
565 | 551 | "apiVersion": "2022-09-01",
|
|
726 | 712 | "_generator": {
|
727 | 713 | "name": "bicep",
|
728 | 714 | "version": "0.35.1.17967",
|
729 |
| - "templateHash": "12578060348489775267" |
| 715 | + "templateHash": "14561153070486462167" |
730 | 716 | }
|
731 | 717 | },
|
732 | 718 | "parameters": {
|
|
908 | 894 | "[resourceId('Microsoft.MachineLearningServices/workspaces', variables('aiHubName'))]"
|
909 | 895 | ]
|
910 | 896 | },
|
| 897 | + { |
| 898 | + "type": "Microsoft.Authorization/roleAssignments", |
| 899 | + "apiVersion": "2022-04-01", |
| 900 | + "name": "[guid(resourceId('Microsoft.MachineLearningServices/workspaces', variables('aiProjectName')), resourceId('Microsoft.Authorization/roleDefinitions', '64702f94-c441-49e6-a78b-ef80e0188fee'))]", |
| 901 | + "properties": { |
| 902 | + "roleDefinitionId": "[resourceId('Microsoft.Authorization/roleDefinitions', '64702f94-c441-49e6-a78b-ef80e0188fee')]", |
| 903 | + "principalId": "[reference(resourceId('Microsoft.MachineLearningServices/workspaces', variables('aiProjectName')), '2024-01-01-preview', 'full').identity.principalId]" |
| 904 | + }, |
| 905 | + "dependsOn": [ |
| 906 | + "[resourceId('Microsoft.MachineLearningServices/workspaces', variables('aiProjectName'))]" |
| 907 | + ] |
| 908 | + }, |
911 | 909 | {
|
912 | 910 | "type": "Microsoft.KeyVault/vaults/secrets",
|
913 | 911 | "apiVersion": "2021-11-01-preview",
|
|
0 commit comments