X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9b0de8314d6297df506734844bb2b833ba7d022c..34a5530a0844fb66270e54f4e53fb7179746a0c0:/tools/salt-install/terraform/aws/vpc/variables.tf diff --git a/tools/salt-install/terraform/aws/vpc/variables.tf b/tools/salt-install/terraform/aws/vpc/variables.tf index 4237c56c80..c8d366a199 100644 --- a/tools/salt-install/terraform/aws/vpc/variables.tf +++ b/tools/salt-install/terraform/aws/vpc/variables.tf @@ -19,4 +19,80 @@ variable "cluster_name" { variable "domain_name" { description = "The domain name under which your Arvados cluster will be hosted" type = string +} + +variable "private_only" { + description = "Don't create infrastructure reachable from the public Internet" + type = bool + default = false +} + +variable "user_facing_hosts" { + description = "List of hostnames for nodes that hold user-accesible Arvados services" + type = list(string) + default = [ "controller", "workbench" ] +} + +variable "internal_service_hosts" { + description = "List of hostnames for nodes that hold internal Arvados services" + type = list(string) + 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 "dns_aliases" { + description = "Sets DNS name aliases for every service node" + type = map(list(string)) + default = { + workbench = [ + "ws", + "workbench2", + "webshell", + "keep", + "download", + "prometheus", + "grafana", + "*.collections" + ] + } +} + +variable "vpc_id" { + description = "Use existing VPC instead of creating one for the cluster" + type = string + default = "" +} + +variable "sg_id" { + description = "Use existing security group instead of creating one for the cluster" + type = string + default = "" +} + +variable "private_subnet_id" { + description = "Use existing private subnet instead of creating one for the cluster" + type = string + default = "" +} + +variable "public_subnet_id" { + description = "Use existing public subnet instead of creating one for the cluster" + type = string + default = "" +} + +variable "custom_tags" { + description = "Apply customized tags to every resource on the cluster" + type = map(string) + default = {} } \ No newline at end of file