Page MenuHomePhabricator

D12729.diff
No OneTemporary

D12729.diff

diff --git a/services/terraform/self-host/keyserver_secondary.tf b/services/terraform/self-host/keyserver_secondary.tf
--- a/services/terraform/self-host/keyserver_secondary.tf
+++ b/services/terraform/self-host/keyserver_secondary.tf
@@ -139,7 +139,7 @@
enable_execute_command = true
enable_ecs_managed_tags = true
force_new_deployment = true
- desired_count = 1
+ desired_count = var.desired_secondary_nodes
network_configuration {
subnets = local.vpc_subnets
diff --git a/services/terraform/self-host/variables.tf b/services/terraform/self-host/variables.tf
--- a/services/terraform/self-host/variables.tf
+++ b/services/terraform/self-host/variables.tf
@@ -77,3 +77,9 @@
type = string
default = "db.t4g.medium"
}
+
+variable "desired_secondary_nodes" {
+ description = "Desired number of secondary nodes"
+ type = number
+ default = 1
+}

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 1:46 AM (2 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2701324
Default Alt Text
D12729.diff (929 B)

Event Timeline