-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
119 lines (98 loc) · 2.46 KB
/
variables.tf
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# Generic Vars
variable "tags" {
description = "Tags to include on resources"
type = map(string)
default = {}
}
variable "name" {
description = "Name for this host"
type = string
}
# Network related vars
variable "vpc_id" {
description = "VPC that the host will be created in"
type = string
}
variable "allowed_access_cidrs" {
description = "Allowed Access CIDRs (for TheHive access)"
type = list(string)
default = ["0.0.0.0/0"]
}
variable "instance_subnet" {
description = "Subnet to create instance in"
type = string
}
variable "availability_zone" {
description = "AZ corresponding to subnet"
type = string
}
# Instance related vars
variable "instance_image" {
description = "AMI to use for the bastion host instances"
type = string
}
variable "instance_type" {
description = "Instance type for the bastion"
type = string
default = "t2.micro"
}
variable "enable_monitoring" {
description = "Enable enhanced monitoring"
type = string
default = "false"
}
variable "instance_additional_sgs" {
description = "Additional security groups"
type = list(string)
default = []
}
variable "keypair" {
description = "Keypair to create instance with"
type = string
}
variable "ebs_volume_type" {
description = "Data Volume Type"
type = string
default = "gp2"
}
variable "ebs_volume_size" {
description = "Data Volume Size"
type = string
default = "100"
}
# ELB related vars
variable "alb_create" {
description = "Create an ALB"
type = string
default = true
}
variable "alb_subnets" {
description = "Subnets to create the ALB in (specify 3)"
type = list(string)
}
variable "alb_internal" {
description = "Create the ALB on an internal (true) or internet-facing (false) scheme"
type = string
default = "true"
}
variable "alb_certificate" {
description = "ACM to use for TheHive"
type = string
}
variable "r53_create" {
description = "Create a Route 53 zone entry for the instance or ALB"
type = string
default = false
}
variable "r53_zone" {
description = "Zone ID"
type = string
}
variable "r53_thehive_name" {
description = "Host name to create for thehive (must be fully qualified)"
type = string
}
variable "r53_cortex_name" {
description = "Host name to create for cortex (must be fully qualified)"
type = string
}