File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ resource "databricks_mount" "adls" {
2
2
for_each = var. mountpoints
3
3
4
4
name = each. key
5
- uri = " abfss://${ each . value [" container_name" ]} @${ each . value [" storage_account_name" ]} .dfs.core.windows.net/ ${ each . value [ " root_path " ] } "
5
+ uri = " abfss://${ each . value [" container_name" ]} @${ each . value [" storage_account_name" ]} .dfs.core.windows.net"
6
6
extra_configs = {
7
7
" fs.azure.account.auth.type" : " OAuth" ,
8
8
" fs.azure.account.oauth.provider.type" : " org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider" ,
Original file line number Diff line number Diff line change @@ -161,9 +161,12 @@ variable "node_type" {
161
161
}
162
162
163
163
variable "mountpoints" {
164
- type = map (any )
164
+ type = map (object ({
165
+ storage_account_name = string
166
+ container_name = string
167
+ }))
165
168
description = " Mountpoints for databricks"
166
- default = null
169
+ default = {}
167
170
}
168
171
169
172
# Secret Scope variables
You can’t perform that action at this time.
0 commit comments