-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
62 lines (53 loc) · 1.59 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
variable address {
type = string
description = "External IP address to assign to this instance."
}
variable zone {
type = string
description = "Zone in which to place this instance. Must be the same region as the IP address provided."
}
variable disk_size {
type = number
default = 15
description = "Size of the instance's disk (in GB)."
}
variable disk_type {
type = string
default = "pd-standard"
description = "Type of the instance's disk (one of `pd-standard` or `pd-ssd`). `google` provider `>= 3.37` allows the option of `pd-balanced` to be provided."
}
variable machine_type {
type = string
default = "f1-micro"
description = "Machine type of the instance."
}
variable network_tags {
type = set(string)
default = []
description = "Tags to which this route applies. Defaults to [\"requires-nat-$${local.region}\"]"
}
variable route_priority {
type = number
default = 900
description = "The priority to assign the networking route that routes traffic through this instance."
}
variable socks_proxy {
type = object({
enabled = bool
debug = optional(number)
port = optional(number)
allowed_ranges = optional(set(string))
})
default = { enabled = false, debug = 0, port = 8888, allowed_ranges = [] }
description = "Configuration for managing a SOCKS proxy on this instance."
}
variable sysctl_config {
type = map(string)
default = {}
description = "sysctl configuration to apply on startup."
}
variable wait_duration {
type = number
default = 10
description = "The duration (in seconds) to wait for the NAT instance to finish starting up."
}