infra-nimbus/pyrmont.tf
Jakub Sokołowski 5d5857928d
pyrmont: expose REST API at insecura.nimbus.team
Inteded for tests of public insecure API access for Jacek.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-22 15:36:56 +01:00

30 lines
648 B
HCL

/* Hetzner AX41-NVMe
* AMD Ryzen 5 3600 Hexa-Core
* 64 GB DDR4 RAM
* 2 x 512 GB NVMe SSD */
module "nimbus_nodes_pyrmont_hetzner" {
source = "./modules/dummy-module"
name = "metal"
env = "nimbus"
stage = "pyrmont"
group = "nimbus-pyrmont-metal"
domain = var.domain
ips = [
"65.21.196.45",
"65.21.196.46",
"65.21.196.47",
"65.21.196.48",
]
}
/* Community test REST API endpoints. */
resource "cloudflare_record" "unstable_pyrmont_beacon_api" {
zone_id = local.zones["nimbus.team"]
name = "insecura"
value = module.nimbus_nodes_pyrmont_hetzner.public_ips[0]
type = "A"
proxied = false
}