infra-nimbus/logs.tf
Jakub Sokołowski 9b365b02a7
add new windows-01.he-eu-hel1.nimbus.prater host
To replace `windows-01.gc-us-central1-a.nimbus.prater` which is running
out of disk space, and is also far too expensive.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-25 15:02:27 +01:00

27 lines
532 B
HCL

module "nimbus_log_store" {
source = "./modules/dummy-module"
name = "store"
env = "logs"
stage = "nimbus"
group = "logs.nimbus"
region = "eu-hel1"
prefix = "he"
domain = var.domain
ips = [
"65.108.129.55",
"65.108.129.56",
"65.108.129.57",
]
}
resource "cloudflare_record" "nimbus_log_store" {
zone_id = local.zones["status.im"]
name = "nimbus-es.infra"
value = module.nimbus_log_store.public_ips[count.index]
count = var.log_stores_count
type = "A"
proxied = true
}