forked from databricks/terraform-databricks-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
134 lines (110 loc) · 3.41 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
variable "location" {
type = string
description = "(Required) The location for the resources in this module"
}
variable "spoke_resource_group_name" {
type = string
description = "(Required) The name of the Resource Group to create"
}
variable "managed_resource_group_name" {
type = string
description = "(Optional) The name of the resource group where Azure should place the managed Databricks resources"
default = ""
}
variable "project_name" {
type = string
description = "(Required) The name of the project associated with the infrastructure to be managed by Terraform"
}
variable "environment_name" {
type = string
description = "(Required) The name of the project environment associated with the infrastructure to be managed by Terraform"
}
variable "spoke_vnet_address_space" {
type = string
description = "(Required) The address space for the spoke Virtual Network"
}
variable "tags" {
type = map(string)
description = "(Required) Map of tags to attach to resources"
default = {}
}
variable "databricks_workspace_name" {
type = string
description = "Name of Databricks workspace"
}
variable "data_factory_name" {
type = string
description = "The name of the Azure Data Factory to deploy. Won't be created if not specified"
default = ""
}
variable "key_vault_name" {
type = string
description = "(Required) The name of the Azure Data Factory to deploy"
default = ""
}
variable "private_subnet_address_prefixes" {
type = list(string)
description = "Address space for private Databricks subnet"
}
variable "public_subnet_address_prefixes" {
type = list(string)
description = "Address space for public Databricks subnet"
}
variable "storage_account_names" {
type = list(string)
description = "Names of the different storage accounts"
default = []
}
variable "shared_resource_group_name" {
type = string
description = "Name of the shared resource group"
}
variable "metastore_name" {
type = string
description = "the name of the metastore"
}
variable "metastore_storage_name" {
type = string
description = "the account storage where we create the metastore"
}
variable "access_connector_name" {
type = string
description = "the name of the access connector"
}
variable "service_principals" {
type = map(object({
sp_id = string
display_name = optional(string)
permissions = list(string)
}))
default = {}
description = "list of service principals we want to create at Databricks account"
}
variable "account_groups" {
type = map(object({
group_name = string
permissions = list(string)
}))
default = {}
description = "list of databricks account groups we want to assign to the workspace"
}
variable "landing_external_location_name" {
type = string
description = "the name of the landing external location"
}
variable "landing_adls_path" {
type = string
description = "The ADLS path of the landing zone"
}
variable "landing_adls_rg" {
type = string
description = "The resource group name of the landing zone"
}
variable "metastore_admins" {
type = list(string)
description = "list of principals: service principals or groups that have metastore admin privileges"
}
variable "account_id" {
type = string
description = "Databricks Account ID"
}