mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-02-22 02:18:06 +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"
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
||||||
|
|
||||||
name = "node"
|
name = "node"
|
||||||
@ -26,10 +26,10 @@ module "nimbus_log_store" {
|
|||||||
keypair_name = aws_key_pair.jakubgs.key_name
|
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"]
|
zone_id = local.zones["status.im"]
|
||||||
name = "nimbus-es.infra"
|
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
|
count = var.log_stores_count
|
||||||
type = "A"
|
type = "A"
|
||||||
proxied = true
|
proxied = true
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
output "hosts" {
|
output "hosts" {
|
||||||
value = merge(
|
value = merge(
|
||||||
module.nimbus_dashboard.hosts,
|
module.nimbus_dashboard.hosts,
|
||||||
module.nimbus_log_store.hosts,
|
module.nimbus_log_store_aws.hosts,
|
||||||
module.nimbus_geth_goerli.hosts,
|
module.nimbus_geth_goerli.hosts,
|
||||||
module.nimbus_geth_mainnet.hosts,
|
module.nimbus_geth_mainnet.hosts,
|
||||||
module.nimbus_nodes_mainnet_hetzner.hosts,
|
module.nimbus_nodes_mainnet_hetzner.hosts,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user