2021-01-20 14:16:39 +00:00
|
|
|
module "nimbus_dashboard" {
|
|
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
|
|
|
|
name = "node"
|
|
|
|
env = "dash"
|
|
|
|
group = "log-dash"
|
|
|
|
stage = "nimbus"
|
|
|
|
domain = var.domain
|
|
|
|
|
|
|
|
/* Scaling */
|
2022-09-22 15:02:15 +00:00
|
|
|
host_count = 1
|
|
|
|
type = "t3a.medium" /* 4GB RAM at least */
|
|
|
|
root_vol_size = 15
|
2021-01-20 14:16:39 +00:00
|
|
|
|
|
|
|
/* Firewall */
|
|
|
|
open_tcp_ports = [
|
|
|
|
"80", /* HTTP */
|
|
|
|
"443", /* HTTPS */
|
|
|
|
]
|
2021-06-23 07:44:06 +00:00
|
|
|
|
2021-01-20 14:16:39 +00:00
|
|
|
/* Plumbing */
|
|
|
|
vpc_id = module.nimbus_network.vpc.id
|
|
|
|
subnet_id = module.nimbus_network.subnets[0].id
|
|
|
|
secgroup_id = module.nimbus_network.secgroup.id
|
|
|
|
keypair_name = aws_key_pair.jakubgs.key_name
|
|
|
|
}
|
|
|
|
|
|
|
|
resource "cloudflare_record" "nimbus_dashboard" {
|
|
|
|
zone_id = local.zones["status.im"]
|
|
|
|
name = "nimbus-logs.infra"
|
2022-06-01 09:43:48 +00:00
|
|
|
value = "proxy.infra.status.im"
|
|
|
|
type = "CNAME"
|
|
|
|
proxied = false
|
2021-01-20 14:16:39 +00:00
|
|
|
}
|