-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
56 lines (44 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
variable "region" {
default = "eu-west-2" # london
description = "the AWS region in which to create the VPN server"
}
variable "wg_server_private_key" {
description = "the PRIVATE key of the SERVER in BASE64 format (default)"
}
variable "wg_server_public_key" {
description = "the PUBLIC key of the SERVER in BASE64 format (default)"
}
variable "wg_client_public_key" {
description = "the PUBLIC key of the CLIENT in BASE64 format (default)"
}
variable "wg_client_private_key" {
description = "the PRIVATE key of the CLIENT in BASE64 format (default)"
}
# you should not need to change this
variable "client_allowed_ips" {
default = "0.0.0.0/0"
description = "Change this if you DON'T want to route all traffic over the VPN"
}
variable "listen_port" {
default = "51820"
description = "the port the server listens on"
}
variable "instance_type" {
default = "t2.medium"
description = "the instance type to use"
}
variable "spot_price" {
default = "0.4"
description = "the max. spot price to pay for the instance"
}
variable "vpc_cidr" {
default = "172.18.3.0/24"
description = "the CIDR for the VPC, only change this if it conflicts with one of your networks"
}
variable "link_cidr" {
default = "172.16.1.0/24"
description = "the CIDR for the VPC link, only change this if it conflicts with one of your networks"
}
variable "root_ebs_size" {
default = 8
}