-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
88 lines (83 loc) · 2.47 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
81
82
83
84
85
86
87
88
variable "do_token" {
description = "DigitalOcean access token"
type = string
default = ""
}
variable "linode_token" {
description = "Linode access token"
type = string
default = ""
}
variable "bot" {
description = "Bot configuration"
type = object({
wallet_address = string
rpc_endpoint = string
ws_endpoint = string
keeper_private_key = string
jito_private_key = string
docker_image = string
docker_image_wallet_tracker = string
})
}
variable "monitoring" {
description = "Monitoring configuration"
default = {
grafana_user = "admin"
grafana_password = "grafana"
prometheus_password = "prompass"
}
type = object({
grafana_user = string
grafana_password = string
prometheus_password = string
})
}
variable "linode_instances" {
description = "List of server configurations for Linode"
default = [
{
label = "DK-LN-AMS"
group = "keeper"
image = "linode/ubuntu23.10"
region = "nl-ams"
type = "g6-nanode-1"
ntp_server = "ntp.amsterdam.jito.wtf"
jito_block_engine_url = "amsterdam.mainnet.block-engine.jito.wtf"
use_jito = true
},
{
label = "DK-LN-OSA"
group = "keeper"
image = "linode/ubuntu23.10"
region = "jp-osa"
type = "g6-nanode-1"
ntp_server = "ntp.tokyo.jito.wtf"
jito_block_engine_url = "tokyo.mainnet.block-engine.jito.wtf"
use_jito = true
},
]
}
variable "digitalocean_instances" {
description = "List of server configurations for DigitalOcean"
default = [
{
label = "DK-DO-FRA"
image = "ubuntu-23-10-x64"
region = "fra1"
type = "s-1vcpu-1gb"
ntp_server = "ntp.frankfurt.jito.wtf"
jito_block_engine_url = "frankfurt.mainnet.block-engine.jito.wtf"
use_jito = true
},
{
label = "DK-DO-NYC"
image = "ubuntu-23-10-x64"
region = "nyc1"
type = "s-1vcpu-1gb"
ntp_server = "ntp.ny.jito.wtf"
jito_block_engine_url = "ny.mainnet.block-engine.jito.wtf"
use_jito = true
}
]
}