-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
108 lines (88 loc) · 1.66 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
//
// AWS
//
variable "region" {
description = "region where to deploy the stack"
type = "string"
default = ""
}
//
// Global variables
//
variable "name" {
description = "name of the stack"
default = ""
type = "string"
}
variable "tags" {
description = "tags to be added to all the taggable resources"
type = "map"
default = {}
}
//
// DNS
//
variable "dns_zone" {
description = "name of the dns zone to be used to create record in it"
default = ""
type = "string"
}
//
// VPC
//
variable "az" {
description = "az in which the deployment should occurs"
type = "string"
default = ""
}
variable "vpc_cidr" {
description = "CIDR for the vpc"
type = "string"
default = ""
}
variable "public_subnet_cidr" {
description = "CIDR for the public subnet"
type = "string"
default = ""
}
variable "private_subnet_cidr" {
description = "CIDR for the private subnet"
type = "string"
default = ""
}
//
// Instances
//
variable "instance_size" {
description = ""
type = "string"
default = ""
}
variable ami_id {
description = ""
type = "string"
default = ""
}
variable ami_flavour {
description = "only amazon_linux_2 is supported"
type = "string"
default = ""
}
variable "key_name" {
description = "name of the ssh key to be used to ssh to host (aws side name)"
type = "string"
default = ""
}
//
// VPN
//
variable "allowed_cidrs" {
description = "list of allowed cidr to add to the security group"
type = "list"
default = []
}
variable "additional_vpn_port" {
description = "list of additional port that should be opened in the sg to allow access to vpn server, only tcp is supported"
type = "list"
default = []
}