-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
97 lines (83 loc) · 1.96 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
variable "location" {
type = string
default = "eastus2"
description = "Location where the resoruces are going to be created."
}
variable "suffix" {
type = string
default = "btsCluster"
description = "To be added at the beginning of each resource."
}
variable "rgName" {
type = string
default = "RG"
description = "Resource Group Name."
}
variable "tags" {
type = map
default = {
"Environment" = "Dev"
"Project" = "BTS-SWIM"
"BillingCode" = "Internal"
"Customer" = "DOT"
}
}
## Networking variables
variable "routeTableName" {
type = string
default = "Main"
description = "Route table name."
}
variable "vnetName" {
type = string
default = "Main"
description = "VNet name."
}
locals {
base_cidr_block = "10.50.0.0/16"
}
variable "baseCIDRBlock" {
type = list
default = ["10.50.0.0/16"]
description = "Main VNet CIDR value range."
}
variable "subnets" {
type = map
default = {
"workers" = "1"
"zookeeper" = "2"
"headnodes" = "3"
"management" = "4"
}
description = "Subnets to be created in the VNet"
}
variable "dataBricksSubnets" {
type = map
default = {
"publicDB" = "5"
"privateDB" = "6"
}
description = " DataBricks dedicated subnets for VNet injection."
}
## Security variables
variable "sgName" {
type = string
default = "default_RDPSSH_SG"
description = "Default Security Group Name to be applied by default to VMs and subnets."
}
variable "sourceIPs" {
type = list
default = ["173.66.39.236", "152.120.199.10", "167.220.152.47"]
description = "Public IPs to allow inboud communications."
}
variable "workspaceName" {
type = string
default = "DatabricksWokspace"
description = "DataBricks Workspace name."
}
# Storage
variable "storageAccountName" {
type = string
default = "btsclusterdataingested"
description = "BTS Cluster Storage Account."
}