-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
78 lines (62 loc) · 1.22 KB
/
variables.tf
File metadata and controls
78 lines (62 loc) · 1.22 KB
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
#
# General
#
variable "create_doks" {
type = bool
description = "Create DOKS cluster"
}
variable "create_gke" {
type = bool
description = "Create GKE cluster"
}
variable "do_token" {
type = string
description = "DigitalOcean Personal Access Token"
}
variable "acme_mail" {
type = string
description = "Email adress for Let's Encrypt certificate issuing"
}
variable "domain" {
type = string
description = "Domain on which the cluster will run"
}
variable "production" {
type = bool
description = "If false, only a staging TLS certificate is issued"
}
#
# Applications
#
variable "install_mongodb" {
type = bool
description = "Should MongoDB be installed"
}
variable "install_emqx" {
type = bool
description = "Should EMQ X be installed"
}
#
# GKE specifics
#
variable "project_id" {
description = "project id"
}
variable "region" {
description = "region"
}
variable "zone" {
description = "zone"
}
variable "gke_username" {
default = ""
description = "gke username"
}
variable "gke_password" {
default = ""
description = "gke password"
}
variable "gke_num_nodes" {
default = 2
description = "number of gke nodes"
}