21700: Install Bundler system-wide in Rails postinst
[arvados.git] / tools / salt-install / terraform / aws / vpc / variables.tf
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: CC-BY-SA-3.0
4
5 variable "region_name" {
6   description = "Name of the AWS Region where to install Arvados"
7   type = string
8 }
9
10 variable "cluster_name" {
11   description = "A 5-char alphanum identifier for your Arvados cluster"
12   type = string
13   validation {
14     condition = length(var.cluster_name) == 5
15     error_message = "cluster_name should be 5 chars long."
16   }
17 }
18
19 variable "domain_name" {
20   description = "The domain name under which your Arvados cluster will be hosted"
21   type = string
22 }
23
24 variable "private_only" {
25   description = "Don't create infrastructure reachable from the public Internet"
26   type = bool
27   default = false
28 }
29
30 variable "user_facing_hosts" {
31   description = "List of hostnames for nodes that hold user-accesible Arvados services"
32   type = list(string)
33   default = [ "controller", "workbench" ]
34 }
35
36 variable "internal_service_hosts" {
37   description = "List of hostnames for nodes that hold internal Arvados services"
38   type = list(string)
39   default = [ "keep0", "shell" ]
40 }
41
42 variable "private_ip" {
43   description = "Map with every node's private IP address"
44   type = map(string)
45   default = {
46     controller = "10.1.1.11"
47     workbench = "10.1.1.15"
48     shell = "10.1.2.17"
49     keep0 = "10.1.2.13"
50   }
51 }
52
53 variable "dns_aliases" {
54   description = "Sets DNS name aliases for every service node"
55   type = map(list(string))
56   default = {
57     workbench = [
58       "ws",
59       "workbench2",
60       "webshell",
61       "keep",
62       "download",
63       "prometheus",
64       "grafana",
65       "*.collections"
66     ]
67   }
68 }
69
70 variable "vpc_id" {
71   description = "Use existing VPC instead of creating one for the cluster"
72   type = string
73   default = ""
74 }
75
76 variable "sg_id" {
77   description = "Use existing security group instead of creating one for the cluster"
78   type = string
79   default = ""
80 }
81
82 variable "private_subnet_id" {
83   description = "Use existing private subnet instead of creating one for the cluster"
84   type = string
85   default = ""
86 }
87
88 variable "public_subnet_id" {
89   description = "Use existing public subnet instead of creating one for the cluster"
90   type = string
91   default = ""
92 }
93
94 variable "custom_tags" {
95   description = "Apply customized tags to every resource on the cluster"
96   type = map(string)
97   default = {}
98 }