-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
89 lines (73 loc) · 2.73 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
variable "subscription_id" {
description = "Azure Subscription ID"
type = string
}
variable "tenant_id" {
description = "Azure Tenant ID"
type = string
}
variable "application_client_id" {
description = "Azure Active Directory App Registration client secret. Needs access to create a resource group and resources in the subscription"
type = string
}
variable "application_client_secret" {
description = "Azure Active Directory App Registration client id. Needs access to create a resource group and resources in the subscription"
type = string
}
variable "region" {
description = "Azure Region to deploy the environment to. Ex: East US 2"
type = string
}
variable "environment_prefix" {
description = "The environment prefix for created resources naming. Ex: Dev"
type = string
validation {
condition = length(var.environment_prefix) > 0
error_message = "Variable cannot be empty string"
}
}
variable "existing_resource_group_name" {
description = "Existing resource group to create Azure Databricks workspace in"
type = string
default = ""
}
variable "vnet_cidr_block" {
description = "Full CIDR range for VPC. Ex: 10.1.0.0/16. Only use if not using the vnet_first_two_octets variable"
type = string
default = ""
}
variable "vnet_first_two_octets" {
description = "First two octets for VPC range, use if using default module deployment"
type = string
default = "173.1"
}
variable "existing_vnet_name" {
description = "Existing VPC to deploy Databricks workspace to"
type = string
default = ""
}
variable "databricks_host_subnet" {
description = "Host subnet for Databricks, Ex: 10.1.128.0/18. Only use if not using the vnet_first_two_octets variable. Needs to be defined if using the existing_databricks_host_subnet_name variable"
type = string
default = ""
}
variable "databricks_container_subnet" {
description = "Container subnet for Databricks, Ex: 10.1.192.0/18. Only use if not using the vnet_first_two_octets variable. Needs to be defined if using the existing_databricks_container_subnet_name variable"
type = string
default = ""
}
variable "existing_databricks_host_subnet_name" {
description = "Existing host subnet name to deploy Databricks workspace to"
type = string
default = ""
}
variable "existing_databricks_container_subnet_name" {
description = "Existing container subnet name to deploy Databricks workspace to"
type = string
default = ""
}
variable "databricks_workspace_sku" {
description = "The SKU to use for the Databricks Workspace. Possible values are standard, premium, or trial"
type = string
default = "premium"
}