-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
109 lines (92 loc) · 2.6 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
variable "attributes" {
type = list(string)
default = []
description = "Additional attributes for the VPC label (e.g. `1`)."
}
variable "availability_zones" {
description = "A list of availability zones of the Open Telekon Cloud region."
default = []
type = list(string)
}
variable "convert_case" {
type = bool
default = true
description = "Convert the VPC label fields to lower case."
}
variable "cidr" {
type = string
description = "The CIDR block of the desired VPC."
}
variable "delimiter" {
type = string
default = "-"
description = "Delimiter to be used between `namespace`, `stage`, `name` and `attributes`."
}
variable "enabled" {
type = bool
default = true
description = "Set to false to prevent the module from creating any resources."
}
variable "gateway_ips" {
type = list(string)
default = []
}
variable "namespace" {
type = string
default = ""
description = "Namespace, which could be your organization name or abbreviation, e.g. 'eg' or 'cp'."
}
variable "nat_gateway_enabled" {
type = bool
default = true
description = "Set to false to prevent the module from creating any NAT gateway resources."
}
variable "nat_gateway_pool" {
type = string
default = "admin_external_net"
description = "The name of the pool from which to obtain the floating IP for the NAT Gateway."
}
variable "nat_gateway_spec" {
type = string
default = "1"
description = "The specification of the nat gateway, valid values are 1, 2, 3 or 4."
}
variable "stage" {
type = string
default = ""
description = "Stage for the VPC label, e.g. 'prod', 'staging', 'dev'"
}
variable "subnets" {
description = "A list of subnets inside the VPC."
type = list(string)
default = []
}
variable "subnets_dhcp_enable" {
type = list(bool)
description = "Specifies whether the DHCP function is enabled for the subnets."
default = [
true,
true,
true
]
}
variable "subnets_dns_list" {
type = list(list(string))
default = []
description = "A list of DNS servers to use for the subnets."
}
variable "subnets_primary_dns" {
type = list(string)
default = []
description = "A list of IP addresses of DNS server 1 on the subnets"
}
variable "subnets_secondary_dns" {
type = list(string)
default = []
description = "A list of IP addresses of DNS server 2 on the subnet"
}
variable "tags" {
type = map(string)
default = {}
description = "Additional tags (e.g. `map('BusinessUnit','XYZ')`"
}