2020-10-09 16:53:12 +00:00
|
|
|
resource "cloudflare_record" "hive_ui" {
|
|
|
|
zone_id = lookup(local.zones, "status.im")
|
|
|
|
type = "A"
|
|
|
|
name = "hive"
|
|
|
|
value = module.hive_master.public_ips[count.index]
|
|
|
|
count = length(module.hive_master.public_ips)
|
|
|
|
proxied = true
|
|
|
|
}
|
|
|
|
|
2020-10-13 10:50:56 +00:00
|
|
|
resource "cloudflare_record" "cortex_ui" {
|
|
|
|
zone_id = lookup(local.zones, "status.im")
|
|
|
|
type = "A"
|
|
|
|
name = "cortex"
|
|
|
|
value = module.hive_master.public_ips[count.index]
|
|
|
|
count = length(module.hive_master.public_ips)
|
|
|
|
proxied = true
|
|
|
|
}
|
|
|
|
|
2020-10-09 16:53:12 +00:00
|
|
|
resource "cloudflare_record" "hive_es_hq" {
|
2020-10-08 11:32:46 +00:00
|
|
|
zone_id = lookup(local.zones, "status.im")
|
|
|
|
type = "A"
|
2020-10-13 14:35:59 +00:00
|
|
|
name = "thehive-es.infra"
|
2020-10-08 11:32:46 +00:00
|
|
|
value = module.hive_slave.public_ips[count.index]
|
|
|
|
count = length(module.hive_slave.public_ips)
|
|
|
|
proxied = true
|
|
|
|
}
|