-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
56 lines (47 loc) · 1.2 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
variable "cluster_name" {
type = string
description = "name of the kubernetes cluster"
}
variable "node_count" {
type = number
description = "number of target nodes"
default = 3
}
variable "node_size" {
type = string
description = "instance type of the target nodes, choose from `g3.k3s.xsmall`, `g3.k3s.small`, `g3.k3s.medium`, `g3.k3s.large`, `g3.k3s.xlarge`, `g3.k3s.2xlarge`"
default = "g3.k3s.medium"
}
# https://github.com/k3s-io/k3s/releases
variable "k3s_version" {
type = string
description = "supported version of the k3s cluster"
default = ""
}
variable "network_name" {
type = string
description = "name of the existing network"
default = ""
}
variable "firewall_name" {
type = string
description = "name of the existing firewall"
default = ""
}
variable "cni" {
type = string
description = "CNI Plugin, available options: flannel, cilium"
default = "cilium"
}
variable "tags" {
type = string
description = "Space separated list of tags"
}
variable "region" {
type = string
description = "Region for the Cluster"
}
variable "node_label" {
type = string
description = "(optional) describe your variable"
}