infra-nimbus/holesky.tf

93 lines
3.1 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"
domain = var.domain
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"
domain = var.domain
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"
domain = var.domain
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
]
}
/* 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
}