terraform: fix domains
This commit is contained in:
parent
85f55e5801
commit
34abc7a012
|
@ -75,7 +75,9 @@ certbot_admin_email: 'devops@status.im'
|
|||
certbot_services_to_stop: ['nginx']
|
||||
certbot_containers_to_stop: ['{{ nim_waku_cont_name }}']
|
||||
certbot_certs:
|
||||
- domains: [ '{{ nim_waku_websocket_domain }}' ]
|
||||
- domains:
|
||||
- '{{ nim_waku_websocket_domain }}'
|
||||
- '{{ nim_waku_websocket_domain | replace("status.im", "statusim.net") }}' # Legacy Domain
|
||||
|
||||
# Connection limits
|
||||
conn_limit_comment: 'WebSocket conn limit'
|
||||
|
|
|
@ -6,8 +6,6 @@ module "node" {
|
|||
group = "node"
|
||||
env = "waku"
|
||||
stage = terraform.workspace
|
||||
domain = var.domain
|
||||
cf_zone_id = var.cf_zone_id
|
||||
|
||||
/* scaling */
|
||||
host_count = local.ws["hosts_count"]
|
||||
|
|
|
@ -6,8 +6,6 @@ module "node-db" {
|
|||
group = "node-db"
|
||||
env = "waku"
|
||||
stage = terraform.workspace
|
||||
domain = var.domain
|
||||
cf_zone_id = var.cf_zone_id
|
||||
|
||||
/* scaling */
|
||||
host_count = local.ws["hosts_count"]
|
||||
|
|
|
@ -3,9 +3,3 @@ variable "domain" {
|
|||
type = string
|
||||
default = "status.im"
|
||||
}
|
||||
|
||||
variable "cf_zone_id" {
|
||||
description = "ID of CloudFlare zone for host record."
|
||||
type = string
|
||||
default = "fd48f427e99bbe1b52105351260690d1" /* status.im */
|
||||
}
|
||||
|
|
|
@ -24,14 +24,10 @@ locals {
|
|||
# Inherits defaults.
|
||||
test = {
|
||||
/* Settings specific to the test fleet/workspace. */
|
||||
cf_zone_id = "14660d10344c9898521c4ba49789f563"
|
||||
domain = "statusim.net"
|
||||
}
|
||||
|
||||
sandbox = {
|
||||
/* Settings specific to the test fleet/workspace. */
|
||||
cf_zone_id = "fd48f427e99bbe1b52105351260690d1"
|
||||
domain = "status.im"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue