You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: variables.tf
+32-7Lines changed: 32 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,13 @@ variable "workspace_id" {
18
18
description="Id of Azure Databricks workspace"
19
19
}
20
20
21
+
variable"ip_rules" {
22
+
type=map(string)
23
+
description="Map of IP addresses permitted for access to DB"
24
+
default={}
25
+
}
26
+
27
+
# Identity Access Management variables
21
28
variable"user_object_ids" {
22
29
type=map(string)
23
30
description="Map of AD usernames and corresponding object IDs"
@@ -38,9 +45,10 @@ variable "workspace_admins" {
38
45
39
46
variable"iam" {
40
47
type=map(object({
41
-
user =optional(list(string))
42
-
service_principal =optional(list(string))
43
-
entitlements =optional(list(string))
48
+
user =optional(list(string))
49
+
service_principal =optional(list(string))
50
+
entitlements =optional(list(string))
51
+
default_cluster_permission =optional(string)
44
52
}))
45
53
description="Used to create workspace group. Map of group name and its parameters, such as users and service principals added to the group. Also possible to configure group entitlements."
46
54
default={}
@@ -67,12 +75,28 @@ variable "iam_permissions" {
67
75
}
68
76
}
69
77
70
-
variable"ip_rules" {
71
-
type=map(string)
72
-
description="Map of IP addresses permitted for access to DB"
73
-
default={}
78
+
# Default Cluster and Cluster Policy variables
79
+
variable"default_cluster_id" {
80
+
type=string
81
+
description="Single value of default Cluster id created by 'databricks-runtime' module"
82
+
default=""
83
+
}
84
+
85
+
variable"cluster_policies_object" {
86
+
type=list(object({
87
+
id =string
88
+
name =string
89
+
can_use =list(string)
90
+
}))
91
+
description="List of objects that provides an ability to grant custom workspace group a permission to use(CAN_USE) cluster policy"
0 commit comments