-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
80 lines (67 loc) · 1.89 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
variable "start_port_services" {
description = "The first agent of many will be exposed at port 5000 of the NLB, the second on 5001 etc.etc."
default = 5000
type = number
}
variable "start_port_ssh" {
description = "The first ssh of the agents will be exposed at port 6000 of the NLB, the second on 6001 etc.etc."
default = 6000
type = number
}
variable "local_network" {
description = "The vpc network"
default = "10.0.0.0/16"
type = string
}
variable "name" {
description = "The name used for further interpolation"
type = string
}
variable "keyname" {
description = "The existing keyname of the keypair used for connecting with ssh to the agents"
default = ""
type = string
}
variable "instance_type" {
description = "The default instance_type"
default = "c5.2xlarge"
type = string
}
variable "ami" {
description = "The AMI used for the agents"
default = "ami-036cc6f041deb429b" # list of recent XLT AMIs https://github.com/Xceptance/XLT/releases
type = string
}
variable "allowed_networks" {
description = "The allowed networks IP/32"
type = list(string)
}
variable "instance_count" {
description = "The amount of instances to start"
default = 2
type = string
}
variable "instance_count_per_lb" {
description = "The amount of instances per lb"
default = 50
type = string
}
variable "password" {
description = "The password to use"
type = string
}
variable "grafana_enabled" {
description = "Do we create a custom Grafana instance"
default = false
type = bool
}
variable "grafana_ami" {
description = "The grafana ami (required if grafana_enabled is set to true)"
default = "ami-0fc36223101444802"
type = string
}
variable "tags" {
description = "The tags to add"
default = {}
type = map(string)
}