terraform: recreate sandbox fleet with new domain
This commit is contained in:
parent
732623de44
commit
b168d02252
|
@ -7,6 +7,7 @@ module "node" {
|
|||
env = "waku"
|
||||
stage = terraform.workspace
|
||||
domain = var.domain
|
||||
cf_zone_id = var.cf_zone_id
|
||||
|
||||
/* scaling */
|
||||
host_count = local.ws["hosts_count"]
|
||||
|
|
|
@ -7,6 +7,7 @@ module "node-db" {
|
|||
env = "waku"
|
||||
stage = terraform.workspace
|
||||
domain = var.domain
|
||||
cf_zone_id = var.cf_zone_id
|
||||
|
||||
/* scaling */
|
||||
host_count = local.ws["hosts_count"]
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
variable "domain" {
|
||||
description = "DNS Domain to update"
|
||||
type = string
|
||||
default = "statusim.net"
|
||||
default = "status.im"
|
||||
}
|
||||
|
||||
variable "cf_zone_id" {
|
||||
description = "ID of CloudFlare zone for host record."
|
||||
type = string
|
||||
default = "fd48f427e99bbe1b52105351260690d1" /* status.im */
|
||||
}
|
||||
|
|
|
@ -24,10 +24,14 @@ 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