-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
60 lines (51 loc) · 1.03 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
variable "instance_type" {
default = "t3.small"
}
variable "vpc_id" {
description = "VPC id to launch the VPN Server in"
}
variable "instance_subnet_id" {
description = "subnet to launch the VPN Server in"
}
variable "instance_profile_name" {
default = ""
description = "use a custom instance profile"
}
variable "efs_subnet_ids" {
description = "subnets to create the efs mountpoints in"
}
variable "env" {
default = "prod"
}
variable "listeners" {
type = list(object({
port = string
protocol = string
cidr_blocks = list(string)
}))
default = [{
port = "51820"
protocol = "udp"
cidr_blocks = ["0.0.0.0/0"]
},
{
port = "80"
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
},
{
port = "443"
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
}]
}
variable "tags" {
default = {}
type = map(string)
}
variable "ami_owner" {
default = "aws-marketplace"
}
variable "license" {
default = "marketplace"
}