-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhoodi.tf
73 lines (63 loc) · 2.04 KB
/
hoodi.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
module "nimbus_nodes_hoodi_innova_geth" {
source = "github.com/status-im/infra-tf-dummy-module"
name = "geth"
env = "nimbus"
stage = "hoodi"
group = "nimbus-hoodi-geth"
region = "eu-mda1"
prefix = "ih"
ips = [
"194.33.40.130", # geth-01.ih-eu-mda1.nimbus.hoodi
"194.33.40.131", # geth-02.ih-eu-mda1.nimbus.hoodi
"194.33.40.140", # geth-03.ih-eu-mda1.nimbus.hoodi
"194.33.40.141", # geth-04.ih-eu-mda1.nimbus.hoodi
"194.33.40.147", # geth-05.ih-eu-mda1.nimbus.hoodi
]
}
module "nimbus_nodes_hoodi_innova_neth" {
source = "github.com/status-im/infra-tf-dummy-module"
name = "neth"
env = "nimbus"
stage = "hoodi"
group = "nimbus-hoodi-neth"
region = "eu-mda1"
prefix = "ih"
ips = [
"194.33.40.148", # neth-01.ih-eu-mda1.nimbus.hoodi
"194.33.40.149", # neth-02.ih-eu-mda1.nimbus.hoodi
"194.33.40.151", # neth-03.ih-eu-mda1.nimbus.hoodi
"194.33.40.157", # neth-04.ih-eu-mda1.nimbus.hoodi
"194.33.40.241", # neth-05.ih-eu-mda1.nimbus.hoodi
]
}
module "nimbus_nodes_hoodi_innova_nec" {
source = "github.com/status-im/infra-tf-dummy-module"
name = "nec"
env = "nimbus"
stage = "hoodi"
group = "nimbus-hoodi-nec"
region = "eu-mda1"
prefix = "ih"
ips = [
"194.33.40.242", # nec-01.ih-eu-mda1.nimbus.hoodi
"194.33.40.243", # nec-02.ih-eu-mda1.nimbus.hoodi
"194.33.40.244", # nec-03.ih-eu-mda1.nimbus.hoodi
"194.33.40.245", # nec-04.ih-eu-mda1.nimbus.hoodi
"194.33.40.246", # nec-05.ih-eu-mda1.nimbus.hoodi
]
}
/* Community test REST API endpoints. */
resource "cloudflare_record" "unstable_hoodi_beacon_api" {
zone_id = local.zones["nimbus.team"]
name = "unstable.hoodi.beacon-api"
value = module.nimbus_nodes_hoodi_innova_geth.public_ips[0]
type = "A"
proxied = false
}
resource "cloudflare_record" "testing_hoodi_beacon_api" {
zone_id = local.zones["nimbus.team"]
name = "testing.hoodi.beacon-api"
value = module.nimbus_nodes_hoodi_innova_geth.public_ips[1]
type = "A"
proxied = false
}