Page MenuHomePhabricator

D12729.id42451.diff
No OneTemporary

D12729.id42451.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
Sat, Nov 9, 6:21 AM (20 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2449631
Default Alt Text
D12729.id42451.diff (929 B)

Event Timeline