public_ip = {
for k, v in aws_eip.arvados_eip: k => v.public_ip
}
- private_ip = {
- "controller": "10.1.1.11",
- "workbench": "10.1.1.15",
- "shell": "10.1.2.17",
- "keep0": "10.1.2.13",
- }
+ private_ip = var.private_ip
aliases = {
controller: ["ws"]
workbench: ["workbench2", "webshell", "keep", "download", "prometheus", "grafana", "*.collections"]
# environment = "production"
# project = "Phoenix"
# owner = "jdoe"
-# }
\ No newline at end of file
+# }
+
+# Optional cluster service nodes configuration:
+#
+# List of node names which either will be hosting user-facing or internal services
+# user_facing_hosts = [...]
+# internal_service_hosts = [...]
+#
+# Map assigning each node name an internal IP address
+# private_ip = {...}
\ No newline at end of file
default = [ "keep0", "shell" ]
}
+variable "private_ip" {
+ description = "Map with every node's private IP address"
+ type = map(string)
+ default = {
+ controller: "10.1.1.11",
+ workbench: "10.1.1.15",
+ shell: "10.1.2.17",
+ keep0: "10.1.2.13",
+ }
+}
+
variable "vpc_id" {
description = "Use existing VPC instead of creating one for the cluster"
type = string