generated from github/welcome-to-github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
121 lines (118 loc) · 3.42 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
# ======================================================================================================================
# ========================================================= AZURE CONF =================================================
# ======================================================================================================================
# variable "client_id" {
# type = string
# }
# variable "client_secret" {
# type = string
# }
# variable "subscription_id" {
# type = string
# }
# variable "tenant_id" {
# type = string
# }
# variable "state_access_key" {
# description = "access key for Azure backend storage account state"
# type = string
# default = ""
# }
# ======================================================================================================================
# ========================================================= AZURE CONF =================================================
# ======================================================================================================================
# variable "client_id" {
# type = string
# default = ""
# }
# variable "client_secret" {
# type = string
# default = ""
# }
# variable "subscription_id" {
# type = string
# default = ""
# }
# variable "tenant_id" {
# type = string
# default = ""
# }
variable "resources_location" {
description = "where should all resources be created ?"
type = string
default = "North Europe"
}
variable "resource_group" {
type = string
}
# ======================================================================================================================
# ========================================================= CLUSTER CONF ===============================================
# ======================================================================================================================
variable "cluster_kubernetes_version" {
type = string
}
variable "cluster_name" {
type = string
}
variable "cluster_default_node_pool_name" {
type = string
}
variable "cluster_default_node_pool_node_count" {
type = number
}
variable "cluster_default_node_pool_vm_size" {
type = string
}
variable "cluster_default_node_pool_disk_size" {
type = number
}
variable "cluster_default_node_pool_max_pods" {
type = number
}
variable "cluster_additional_node_pools" {
type = map(object({
vm_size : string
node_count : number
max_pods : number
os_disk_size : number
}))
default = {}
}
variable "enable_dashboard" {
type = bool
}
variable "enable_ingress" {
type = bool
default = false
}
# ======================================================================================================================
# ========================================================= NETWORK CONF ===============================================
# ======================================================================================================================
//variable "vnet_resource_group" {
// type = string
//}
//variable "vnet_name" {
// type = string
//}
//variable "vnet_cidrs" {
// type = list(string)
//}
//variable "vnet_dns_servers" {
// type = list(string)
// // @TODO use azure private DNS
// default = [
// "10.1.10.4",
// "10.1.10.7"
// ]
//}
//
# variable "subnet_name" {
# type = string
# }
//variable "subnet_cidrs" {
// type = list(string)
//}
//variable "dns_prefix" {
// type = string
// default = var.cluster_name
//}