-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
112 lines (99 loc) · 1.89 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
109
110
111
112
//-------------id for cloud in Yandex Cloud
variable "cloud_id" {
default = null
}
//-------------TCP port used for public application published in DMZ
variable "public_app_port" {
default = null
}
//-------------and corresponding internal port for the same application
variable "internal_app_port" {
default = null
}
//-------------Define list of trusted public IP addresses for connection to Jump VM
variable "trusted_ip_for_access_jump-vm" {
type = list(string)
default = null
}
//-------------Jump VM Wireguard settings
variable "wg_port" {
default = null
}
variable "wg_client_dns" {
default = null
}
variable "jump_vm_admin_username" {
default = null
}
//------------VPC List
//--VPC 1-- DMZ
variable "vpc_name_1" {
default = null
}
variable "subnet-a_vpc_1" {
default = null
}
variable "subnet-b_vpc_1" {
default = null
}
//--VPC 2-- app
variable "vpc_name_2" {
default = null
}
variable "subnet-a_vpc_2" {
default = null
}
variable "subnet-b_vpc_2" {
default = null
}
//--VPC 3-- public
variable "vpc_name_3" {
default = null
}
variable "subnet-a_vpc_3" {
default = null
}
variable "subnet-b_vpc_3" {
default = null
}
//--VPC 4-- management
variable "vpc_name_4" {
default = null
}
variable "subnet-a_vpc_4" {
default = null
}
variable "subnet-b_vpc_4" {
default = null
}
//--VPC 5-- database
variable "vpc_name_5" {
default = null
}
variable "subnet-a_vpc_5" {
default = null
}
variable "subnet-b_vpc_5" {
default = null
}
//-----------Additional VPC List (for the future because you can't add interfaces after VM creation)
//--VPC 6--
variable "vpc_name_6" {
default = null
}
variable "subnet-a_vpc_6" {
default = null
}
variable "subnet-b_vpc_6" {
default = null
}
//--VPC 7--
variable "vpc_name_7" {
default = null
}
variable "subnet-a_vpc_7" {
default = null
}
variable "subnet-b_vpc_7" {
default = null
}