Skip to content

Commit 8499a42

Browse files
Merge pull request #494 from microsoft/exp-pk
fix: remove conditional logic for assigning the `assignAiUserRoleToAiProject` module
2 parents f546304 + 14ba4ec commit 8499a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/deploy_backend_docker.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ resource aiUser 'Microsoft.Authorization/roleDefinitions@2022-04-01' existing =
147147
name: '53ca6127-db72-4b80-b1b0-d745d6d5456d'
148148
}
149149

150-
module assignAiUserRoleToAiProject 'deploy_foundry_role_assignment.bicep' = if (!empty(azureExistingAIProjectResourceId)){
150+
module assignAiUserRoleToAiProject 'deploy_foundry_role_assignment.bicep' = {
151151
name: 'assignAiUserRoleToAiProject'
152152
scope: resourceGroup(existingAIServiceSubscription, existingAIServiceResourceGroup)
153153
params: {

0 commit comments

Comments
 (0)