mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-02-21 01:48:07 +00:00
logs: rename tf resources before adding new hosts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
aed600506d
commit
36a838e6ae
6
logs.tf
6
logs.tf
@ -1,4 +1,4 @@
|
||||
module "nimbus_log_store" {
|
||||
module "nimbus_log_store_aws" {
|
||||
source = "github.com/status-im/infra-tf-amazon-web-services"
|
||||
|
||||
name = "node"
|
||||
@ -26,10 +26,10 @@ module "nimbus_log_store" {
|
||||
keypair_name = aws_key_pair.jakubgs.key_name
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "nimbus_log_store" {
|
||||
resource "cloudflare_record" "nimbus_log_store_aws" {
|
||||
zone_id = local.zones["status.im"]
|
||||
name = "nimbus-es.infra"
|
||||
value = module.nimbus_log_store.public_ips[count.index]
|
||||
value = module.nimbus_log_store_aws.public_ips[count.index]
|
||||
count = var.log_stores_count
|
||||
type = "A"
|
||||
proxied = true
|
||||
|
@ -1,7 +1,7 @@
|
||||
output "hosts" {
|
||||
value = merge(
|
||||
module.nimbus_dashboard.hosts,
|
||||
module.nimbus_log_store.hosts,
|
||||
module.nimbus_log_store_aws.hosts,
|
||||
module.nimbus_geth_goerli.hosts,
|
||||
module.nimbus_geth_mainnet.hosts,
|
||||
module.nimbus_nodes_mainnet_hetzner.hosts,
|
||||
|
Loading…
x
Reference in New Issue
Block a user