Skip to content

Commit

Permalink
restored identity block
Browse files Browse the repository at this point in the history
  • Loading branch information
elanzel committed Feb 12, 2024
1 parent 790624e commit d327a8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions avm/res/synapse/workspace/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ resource workspace 'Microsoft.Synapse/workspaces@2021-06-01' = {
} : {
useSystemAssignedIdentity: empty(customerManagedKey.?userAssignedIdentityResourceId)
}
identity: !empty(customerManagedKey.?userAssignedIdentityResourceId) ? {
userAssignedIdentity: cMKUserAssignedIdentity.id
} : null
key: {
keyVaultUrl: cMKKeyVault::cMKKey.properties.keyUri
name: customerManagedKey!.keyName
Expand Down

0 comments on commit d327a8e

Please sign in to comment.