-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
executable file
·66 lines (55 loc) · 1.49 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
variable "region" {
description = "The region you are deploying into - only relevant for consul"
type = string
default = ""
}
variable "disable_ipv6" {
description = "Disable ipv6 in grub"
type = bool
default = true
}
variable "node_tags" {
description = "The tag to put into the node exporter for consul to pick up the tag of the instance and associate the proper metrics"
type = string
default = "prep"
}
variable "prometheus_enabled" {
description = "Download and start node exporter"
type = bool
default = false
}
variable "type" {
description = "Type of node - ie sentry / validator, - more to come"
type = string
default = "sentry"
}
variable "cloud_provider" {
description = "What provider is this node running on?"
type = string
}
//------------- Volume
variable "driver_type" {
description = "The ebs volume driver - nitro or standard"
type = string
default = "nitro"
}
variable "mount_volumes" {
description = "Boolean to mount volume"
type = bool
default = true
}
variable "prometheus_user" {
description = "Username to pass through for node exporter"
type = string
default = ""
}
variable "prometheus_password" {
description = "Password to pass through for node exporter"
type = string
default = ""
}
variable "boot_drive_nvme" {
description = "Boolean to set if instance boot drive is also nvme"
type = bool
default = false
}