terraform: recreate sandbox fleet with new domain

This commit is contained in:
Anton Iakimov 2024-03-08 16:46:28 +01:00
parent 732623de44
commit b168d02252
No known key found for this signature in database
GPG Key ID: DEA1FE58DD8BF7FA
4 changed files with 13 additions and 1 deletions

View File

@ -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"]

View File

@ -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"]

View File

@ -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 */
}

View File

@ -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"
}
}
}