-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinputs.tf
More file actions
72 lines (61 loc) · 1.63 KB
/
inputs.tf
File metadata and controls
72 lines (61 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
variable "vpc_id" {
type = string
description = "VPC that you wish to deploy into"
}
variable "public_subnets" {
type = list(string)
description = "List of IDs for subnets to deploy public resources into."
}
variable "cluster_tag" {
type = string
description = "Tag to identify all resources in the cluster"
}
variable "source_sgs" {
type = map(string)
description = "Map of source security groups and descriptions"
}
variable "client_sgs" {
type = map(list(string))
description = "Map of client source locations for traffic"
}
variable "target_sgs" {
type = map(object({ port = number, group = string }))
description = "Map of target security groups with descriptions and port numbers"
}
variable "common_sg" {
type = string
description = "Common security group for all machines"
}
variable "database_sg" {
type = string
description = "Security group that accepts traffic to the database"
}
variable "enable_key_rotation" {
type = bool
description = "Enable rotation of the KMS keys"
default = true
}
variable "ssh_key_name" {
type = string
description = "SSH Key to attach to hosts"
}
variable "controller_cfg" {
type = object({
ami = string
size = string
min = number
max = number
userdata = string
})
description = "Configuration data related to boundary controllers"
}
variable "worker_cfg" {
type = object({
ami = string
size = string
min = number
max = number
userdata = string
})
description = "Configuration data related to boundary workers"
}