-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathvariables.tf
44 lines (36 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
variable "aws_key_name" {
description = "SSH keypair name for the VPN instance"
}
variable "vpc_id" {
description = "Which VPC VPN server will be created in"
}
variable "public_subnet_id" {
description = "One of the public subnet id for the VPN instance"
}
variable "instance_type" {
description = "Instance type for VPN Box"
type = string
default = "t2.micro"
}
variable "whitelist" {
description = "[List] Office IP CIDRs for SSH and HTTPS"
type = list(string)
}
variable "whitelist_http" {
description = "[List] Whitelist for HTTP port"
type = list(string)
default = ["0.0.0.0/0"]
}
variable "tags" {
description = "A map of tags to add to all resources"
default = {}
}
variable "resource_name_prefix" {
description = "All the resources will be prefixed with the value of this variable"
default = "pritunl"
}
variable "internal_cidrs" {
description = "[List] IP CIDRs to whitelist in the pritunl's security group"
type = list(string)
default = ["10.0.0.0/16"]
}