-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathvariables.tf
68 lines (53 loc) · 1.1 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
variable "name" {
default = "bastion"
}
variable "instance_type" {
default = "t3.nano"
}
variable "authorized_keys_directory" {
}
variable "authorized_key_names" {
type = list(string)
}
variable "allowed_users" {
type = list(string)
default = ["tunnel"]
}
variable "associate_public_ip_address" {
default = true
}
variable "additional_security_groups" {
description = "A list of additional security groups to assign to the bastion instance"
type = list(string)
default = []
}
variable "allowed_cidrs" {
type = list(string)
}
variable "allowed_egress_cidrs" {
type = list(string)
default = ["0.0.0.0/0"]
}
variable "allowed_ipv6_egress_cidrs" {
type = list(string)
default = ["::/0"]
}
variable "create_egress_rule" {
description = "Should this module create a rule to allow the bastion to connect to everywhere?"
default = true
type = bool
}
variable "vpc_id" {
}
variable "public_subnets" {
type = list(string)
}
variable "private_subnets" {
type = list(string)
}
variable "ssh_port" {
default = "22"
}
variable "key_name" {
default = ""
}