From ae18e0b275de1dacbaba149471ba81676facb00c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 8 Oct 2020 13:32:46 +0200 Subject: [PATCH] add DNS entry for thehive-es.status.im MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- dns.tf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 dns.tf diff --git a/dns.tf b/dns.tf new file mode 100644 index 0000000..5650914 --- /dev/null +++ b/dns.tf @@ -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 +}