Skip to content

Commit

Permalink
Update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Nov 5, 2024
1 parent e76f094 commit 6c177fb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions avm/res/databricks/workspace/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,7 @@ resource workspace 'Microsoft.Databricks/workspaces@2024-05-01' = {
keyName: customerManagedKey!.keyName
keyVersion: !empty(customerManagedKey.?keyVersion ?? '')
? customerManagedKey!.keyVersion!
: (customerManagedKey.?autoRotationDisabled ?? false)
? last(split(cMKKeyVault::cMKKey.properties.keyUriWithVersion, '/'))
: ''
: last(split(cMKKeyVault::cMKKey.properties.keyUriWithVersion, '/'))
}
}
: null
Expand Down Expand Up @@ -708,9 +706,6 @@ type customerManagedKeyType = {
@description('Optional. The version of the customer managed key to reference for encryption. If not provided, the deployment will use the latest version available at deployment time.')
keyVersion: string?

@description('Optional. If configured, instead of auto-rotating to the latest key version, the latest key version at the time of the deployment is used.')
autoRotationDisabled: bool?

@description('Optional. User assigned identity to use when fetching the customer managed key. Required if no system assigned identity is available for use.')
userAssignedIdentityResourceId: string?
}?
Expand Down

0 comments on commit 6c177fb

Please sign in to comment.