-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathvariables.tf
79 lines (63 loc) · 1.62 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
variable "digitalocean_token" {}
variable "digitalocean_ssh_fingerprint" {}
variable "digitalocean_pub_key" {}
variable "digitalocean_private_key" {}
variable "cluster_token_ttl_seconds" {
type = number
default = 3600
description = "The cluster token ttl to use when joining a node, default 3600 seconds."
}
variable "worker_node_count" {
type = number
default = 2
description = "Number of workers"
}
variable "node_count" {
type = number
default = 3
description = "Number of control plane"
}
variable "dns_zone" {
type = string
default = "geeks.sg"
description = "Dns for all ingress"
}
variable "os_image" {
type = string
default = "ubuntu-20-04-x64"
description = "The operating system slug name in Digitalocean."
}
variable "region" {
type = string
default = "sgp1"
description = "The region where the droplets will be hosted."
}
variable "node_disksize" {
type = string
default = "50"
description = "The size of the node extra disk storage."
}
variable "worker_node_disksize" {
type = string
default = "100"
description = "The size of the worker node extra disk storage."
}
variable "node_size" {
type = string
default = "s-4vcpu-8gb"
description = "The size of the worker droplet."
}
variable "worker_node_size" {
type = string
default = "s-4vcpu-8gb"
description = "The size of the worker droplet."
}
variable "cluster_name" {
type = string
default = "cetacean"
}
variable "microk8s_channel" {
type = string
default = "stable"
description = "The MicroK8s channel to use"
}