add DNS entry for thehive-es.status.im

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-10-08 13:32:46 +02:00
parent bfe47e12ac
commit ae18e0b275
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 8 additions and 0 deletions

8
dns.tf Normal file
View File

@ -0,0 +1,8 @@
resource "cloudflare_record" "thehive_es_hq" {
zone_id = lookup(local.zones, "status.im")
type = "A"
name = "thehive-es"
value = module.hive_slave.public_ips[count.index]
count = length(module.hive_slave.public_ips)
proxied = true
}