infra-nimbus/public.tf
Jakub Sokołowski 37a3c61f0c
public: add eth1-db.nimbus.team hosting for DBs
Required by Jacek to grant access for devs and users to
partially sinced databases for nimbus-eth1 nodes.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-12-03 16:58:31 +01:00

54 lines
1.3 KiB
HCL

/* ERA Files hosting */
resource "cloudflare_record" "era_sepolia" {
zone_id = local.zones["nimbus.team"]
name = "sepolia.era"
value = module.nimbus_nodes_sepolia_innova.public_ips[0]
type = "A"
proxied = true
}
resource "cloudflare_record" "era_mainnet" {
zone_id = local.zones["nimbus.team"]
name = "mainnet.era"
value = module.nimbus_nodes_mainnet_innova_erigon.public_ips[0]
type = "A"
proxied = true
}
resource "cloudflare_record" "era_holesky" {
zone_id = local.zones["nimbus.team"]
name = "holesky.era"
value = module.nimbus_nodes_holesky_innova_geth.public_ips[0]
type = "A"
proxied = true
}
/* ERA1 Files hosting */
resource "cloudflare_record" "era1_sepolia" {
zone_id = local.zones["nimbus.team"]
name = "sepolia.era1"
value = module.nimbus_nodes_sepolia_innova.public_ips[0]
type = "A"
proxied = true
}
resource "cloudflare_record" "era1_mainnet" {
zone_id = local.zones["nimbus.team"]
name = "mainnet.era1"
value = module.nimbus_nodes_mainnet_innova_nec.public_ips[0]
type = "A"
proxied = true
}
/* Nimbus-eth1 DB hosting */
resource "cloudflare_record" "nimbus_eth1_db" {
zone_id = local.zones["nimbus.team"]
name = "eth1-db"
value = module.nimbus_eth1_node_innova.public_ips[0]
type = "A"
proxied = true
}