File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,14 @@ resource roleAssignmentToFoundry 'Microsoft.Authorization/roleAssignments@2022-0
9292 }
9393}
9494
95- // Outputs
96- output aiServicesPrincipalId string = enableSystemAssignedIdentity ? aiServicesWithIdentity .identity .principalId : aiServices .identity .principalId
97- output aiProjectPrincipalId string = !empty (aiProjectName ) && enableSystemAssignedIdentity ? aiProjectWithIdentity .identity .principalId : aiProject .identity .principalId
95+ // ========== Outputs ==========
96+
97+ output aiServicesPrincipalId string = enableSystemAssignedIdentity
98+ ? aiServicesWithIdentity .identity .principalId
99+ : aiServices .identity .principalId
100+
101+ output aiProjectPrincipalId string = !empty (aiProjectName )
102+ ? (enableSystemAssignedIdentity
103+ ? aiProjectWithIdentity .identity .principalId
104+ : aiProject .identity .principalId )
105+ : ''
You can’t perform that action at this time.
0 commit comments