Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions infra/mainnet/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,6 @@ locals {
grafana = local.grafana_config
route53_zone = aws_route53_zone.this
}
wallet-connect-2 = {
vpc_cidr_octet = 0 # 10.0.0.0/16
db = local.db_config
nodes = [
local.node_config,
local.node_config,
]
}
}

us_operators = {
Expand Down Expand Up @@ -222,28 +214,6 @@ locals {
prometheus = local.prometheus_config
route53_zone = aws_route53_zone.this
}
wallet-connect-2 = {
vpc_cidr_octet = 0 # 10.0.0.0/16
db = local.db_config
nodes = [
local.node_config,
local.node_config,
]
}
}

sa_operators = {
wallet-connect = {
vpc_cidr_octet = 8 # 10.8.0.0/16
vpc_peering_connections = local.vpc_peering_connections
db = local.db_config
nodes = [
local.node_config,
local.node_config,
]
prometheus = local.prometheus_config
route53_zone = aws_route53_zone.this
}
}
}

Expand Down Expand Up @@ -289,20 +259,6 @@ module "ap-southeast-1" {
}
}

module "sa-east-1" {
source = "../modules/node-operator"
for_each = local.sa_operators

config = merge(each.value, {
name = each.key
sops_file_path = "${path.module}/sops/sa.${each.key}.json"
})

providers = {
aws = aws.sa
}
}

output "sops-encryption-key-arn" {
value = module.sops-encryption-key.arn
}
Loading