-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
66 lines (54 loc) · 1.93 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 "cloud_id" {
description = "id for cloud in Yandex Cloud"
default = null
}
variable "az_name_list" {
type = list(string)
description = "List of availability zone names for resources"
default = ["ru-central1-a", "ru-central1-b"]
}
variable "security_segment_names" {
type = list(string)
description = "List of security segment names (The first one for management, the second for public internet, the third one for dmz, you can add more segments after the last one. Total number of segments should not be more than 7.)"
default = ["demo-mgmt", "demo-public", "demo-dmz"]
}
variable "zone1_subnet_prefix_list" {
type = list(string)
description = "List of prefixes in first availability zone for subnets corresponding to list of security segment names. One prefix per security segment."
default = []
}
variable "zone2_subnet_prefix_list" {
type = list(string)
description = "List of prefixes in second availability zone for subnets corresponding to list of security segment names. One prefix per security segment."
default = []
}
variable "public_app_port" {
type = number
description = "TCP port used for public application published in DMZ"
default = null
}
variable "internal_app_port" {
type = number
description = "Corresponding internal port for public application published in DMZ"
default = null
}
variable "trusted_ip_for_access_jump-vm" {
type = list(string)
description = "Define list of trusted public IP addresses for connection to Jump VM"
default = null
}
variable "wg_port" {
type = number
description = "Port number for Wireguard Jump VM setting"
default = 51820
}
variable "wg_client_dns" {
type = string
description = "DNS servers for Wireguard Jump VM setting"
default = null
}
variable "jump_vm_admin_username" {
type = string
description = "admin username for Jump VM"
default = null
}