20482: Allows the site admin to customize tags applied to every resource.
[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 "vpc_id" {
43   description = "Use existing VPC instead of creating one for the cluster"
44   type = string
45   default = ""
46 }
47
48 variable "sg_id" {
49   description = "Use existing security group instead of creating one for the cluster"
50   type = string
51   default = ""
52 }
53
54 variable "private_subnet_id" {
55   description = "Use existing private subnet instead of creating one for the cluster"
56   type = string
57   default = ""
58 }
59
60 variable "public_subnet_id" {
61   description = "Use existing public subnet instead of creating one for the cluster"
62   type = string
63   default = ""
64 }
65
66 variable "custom_tags" {
67   description = "Apply customized tags to every resource on the cluster"
68   type = map(string)
69   default = {}
70 }