-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables-azure.tf
121 lines (95 loc) · 3.21 KB
/
variables-azure.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
variable "azure_config_version" {
description = <<EOF
(internal) This declares the version of the Azure configuration variables.
It has no impact on generated assets but declares the version contract of the configuration.
EOF
default = "0.1"
}
variable "azure_region" {
type = string
description = "The target Azure region for the cluster."
}
variable "azure_bootstrap_vm_type" {
type = string
description = "Instance type for the bootstrap node. Example: `Standard_DS4_v3`."
default = "Standard_A2m_v2"
}
variable "azure_master_vm_type" {
type = string
description = "Instance type for the master node(s). Example: `Standard_DS4_v3`."
default = "Standard_D4s_v3"
}
variable "azure_extra_tags" {
type = map(string)
description = <<EOF
(optional) Extra Azure tags to be applied to created resources.
Example: `{ "key" = "value", "foo" = "bar" }`
EOF
default = {}
}
variable "azure_master_root_volume_type" {
type = string
description = "The type of the volume the root block device of master nodes."
}
variable "azure_master_root_volume_size" {
type = string
description = "The size of the volume in gigabytes for the root block device of master nodes."
}
variable "azure_base_domain_resource_group_name" {
type = string
description = "The resource group that contains the dns zone used as base domain for the cluster."
}
# variable "azure_subscription_id" {
# type = string
# description = "The subscription that should be used to interact with Azure API"
# }
# variable "azure_client_id" {
# type = string
# description = "The app ID that should be used to interact with Azure API"
# }
# variable "azure_client_secret" {
# type = string
# description = "The password that should be used to interact with Azure API"
# }
# variable "azure_tenant_id" {
# type = string
# description = "The tenant ID that should be used to interact with Azure API"
# }
# variable "azure_master_availability_zones" {
# type = list(string)
# description = "The availability zones in which to create the masters. The length of this list must match master_count."
# }
# variable "azure_preexisting_network" {
# type = bool
# default = false
# description = "Specifies whether an existing network should be used or a new one created for installation."
# }
# variable "azure_network_resource_group_name" {
# type = string
# description = "The name of the network resource group, either existing or to be created."
# }
# variable "azure_virtual_network" {
# type = string
# description = "The name of the virtual network, either existing or to be created."
# }
variable "azure_control_plane_subnet" {
type = string
description = "The name of the subnet for the control plane, either existing or to be created."
}
variable "azure_compute_subnet" {
type = string
description = "The name of the subnet for worker nodes, either existing or to be created"
}
#
# xymox added
#
variable "master_count" {
type = number
description = "The number of master instances"
default = 3
}
variable "node_count" {
type = number
description = "The number of node instances"
default = 3
}