File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 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" {
22 for_each = var. mountpoints
33
44 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"
66 extra_configs = {
77 " fs.azure.account.auth.type" : " OAuth" ,
88 " 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" {
161161}
162162
163163variable "mountpoints" {
164- type = map (any )
164+ type = map (object ({
165+ storage_account_name = string
166+ container_name = string
167+ }))
165168 description = " Mountpoints for databricks"
166- default = null
169+ default = {}
167170}
168171
169172# Secret Scope variables
You can’t perform that action at this time.
0 commit comments