-
Notifications
You must be signed in to change notification settings - Fork 32
/
variables.tf
64 lines (52 loc) · 1.44 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
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 "ami_id" {
description = "AMI ID of Amazon Linux"
}
variable "instance_type" {
description = "Instance type for VPN Box"
type = string
default = "t2.micro"
}
variable "ebs_optimized" {
description = "Create EBS optimized EC2 instance"
type = bool
default = false
}
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 "healthchecks_io_key" {
description = "Health check key for healthchecks.io"
default = "invalid"
}
variable "internal_cidrs" {
description = "[List] IP CIDRs to whitelist in the pritunl's security group"
type = list(string)
default = ["10.0.0.0/8"]
}
variable "s3_bucket_name" {
description = "[String] Optional S3 bucket name for backups"
default = ""
}