mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-01-10 05:45:51 +00:00
Jakub Sokołowski
9b365b02a7
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>
27 lines
532 B
HCL
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
|
|
}
|