infra-nimbus/holesky.tf

124 lines
3.7 KiB
HCL

module "nimbus_nodes_holesky_innova_geth" {
source = "github.com/status-im/infra-tf-dummy-module"
name = "geth"
env = "nimbus"
stage = "holesky"
group = "nimbus-holesky-geth"
region = "eu-mda1"
prefix = "ih"
ips = [
"194.33.40.71", # geth-01.ih-eu-mda1.nimbus.holesky
"194.33.40.81", # geth-02.ih-eu-mda1.nimbus.holesky
"194.33.40.82", # geth-03.ih-eu-mda1.nimbus.holesky
"194.33.40.107", # geth-04.ih-eu-mda1.nimbus.holesky
"194.33.40.129", # geth-05.ih-eu-mda1.nimbus.holesky
"194.33.40.130", # geth-06.ih-eu-mda1.nimbus.holesky
"194.33.40.131", # geth-07.ih-eu-mda1.nimbus.holesky
"194.33.40.140", # geth-08.ih-eu-mda1.nimbus.holesky
"194.33.40.141", # geth-09.ih-eu-mda1.nimbus.holesky
"194.33.40.147", # geth-10.ih-eu-mda1.nimbus.holesky
]
}
module "nimbus_nodes_holesky_innova_erigon" {
source = "github.com/status-im/infra-tf-dummy-module"
name = "erigon"
env = "nimbus"
stage = "holesky"
group = "nimbus-holesky-erigon"
region = "eu-mda1"
prefix = "ih"
ips = [
"194.33.40.148", # erigon-01.ih-eu-mda1.nimbus.holesky
"194.33.40.149", # erigon-02.ih-eu-mda1.nimbus.holesky
"194.33.40.151", # erigon-03.ih-eu-mda1.nimbus.holesky
"194.33.40.157", # erigon-04.ih-eu-mda1.nimbus.holesky
"194.33.40.241", # erigon-05.ih-eu-mda1.nimbus.holesky
"194.33.40.242", # erigon-06.ih-eu-mda1.nimbus.holesky
"194.33.40.243", # erigon-07.ih-eu-mda1.nimbus.holesky
"194.33.40.244", # erigon-08.ih-eu-mda1.nimbus.holesky
"194.33.40.245", # erigon-09.ih-eu-mda1.nimbus.holesky
"194.33.40.246", # erigon-10.ih-eu-mda1.nimbus.holesky
]
}
module "nimbus_nodes_holesky_innova_neth" {
source = "github.com/status-im/infra-tf-dummy-module"
name = "neth"
env = "nimbus"
stage = "holesky"
group = "nimbus-holesky-neth"
region = "eu-mda1"
prefix = "ih"
ips = [
"194.33.40.247", # neth-01.ih-eu-mda1.nimbus.holesky
"194.33.40.248", # neth-02.ih-eu-mda1.nimbus.holesky
"194.33.40.249", # neth-03.ih-eu-mda1.nimbus.holesky
"194.33.40.250", # neth-04.ih-eu-mda1.nimbus.holesky
"194.33.40.251", # neth-05.ih-eu-mda1.nimbus.holesky
"194.33.40.252", # neth-06.ih-eu-mda1.nimbus.holesky
"194.33.40.253", # neth-07.ih-eu-mda1.nimbus.holesky
"194.33.40.254", # neth-08.ih-eu-mda1.nimbus.holesky
"185.181.229.100", # neth-09.ih-eu-mda1.nimbus.holesky
"185.181.229.103", # neth-10.ih-eu-mda1.nimbus.holesky
]
}
module "nimbus_nodes_holesky_innova_macm2" {
source = "github.com/status-im/infra-tf-dummy-module"
name = "macm2"
env = "nimbus"
stage = "holesky"
group = "nimbus-holesky-macm2"
region = "eu-mda1"
prefix = "ih"
ips = [
"185.181.230.76" # macm2-01.ih-eu-mda1.nimbus.holesky
]
}
module "nimbus_nodes_holesky_innova_windows" {
source = "github.com/status-im/infra-tf-dummy-module"
name = "windows"
env = "nimbus"
stage = "holesky"
group = "nimbus-holesky-windows"
region = "eu-mda1"
prefix = "ih"
/* Windows */
become_user = "admin"
become_method = "runas"
shell_type = "powershell"
ips = [
"194.33.40.240" # windows-01.ih-eu-mda1.nimbus.holesky
]
}
/* Community test REST API endpoints. */
resource "cloudflare_record" "unstable_holesky_beacon_api" {
zone_id = local.zones["nimbus.team"]
name = "unstable.holesky.beacon-api"
value = module.nimbus_nodes_holesky_innova_geth.public_ips[0]
type = "A"
proxied = false
}
resource "cloudflare_record" "testing_holesky_beacon_api" {
zone_id = local.zones["nimbus.team"]
name = "testing.holesky.beacon-api"
value = module.nimbus_nodes_holesky_innova_geth.public_ips[1]
type = "A"
proxied = false
}