-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
126 lines (119 loc) · 3.75 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Contains all the variables used in this module.
variable "google_services" {
type = object({
service_account = string
project_id = string
region = string
zone = string
common_resource_description = string
configure_gloud = bool
disable_apis_on_destroy = bool
use_cloud_sql = bool
use_cloud_dns = bool
})
description = "Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob/master/docs/input.md"
}
variable "openwisp_services" {
type = object({
use_openvpn = bool
use_freeradius = bool
setup_database = bool
setup_fresh = bool
})
description = "Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob/master/docs/input.md"
}
variable "gce_persistent_disk" {
type = object({
name = string
type = string
size = number
snapshots = object({
name = string
hours_in_cycle = string
start_time = string
retention_days = number
on_disk_deletion = string
})
})
description = "Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob/master/docs/input.md"
}
variable "database_cloudsql" {
type = object({
name = string
tier = string
require_ssl = bool
availability_type = string
disk_size = number
disk_type = string
sslmode = string
username = string
password = string
database = string
auto_backup = object({
enabled = bool
start_time = string
})
maintaince = object({
day = number
hour = number
track = string
})
})
description = "Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob/master/docs/input.md"
}
variable "network_config" {
type = object({
vpc_name = string
subnet_cidr = string
pods_cidr_range = string
services_cidr_range = string
http_loadbalancer_ip_name = string
openvpn_ip_name = string
freeradius_ip_name = string
openwisp_dns_zone_name = string
openwisp_dns_name = string
openwisp_dns_records_ttl = number
subnet_flowlogs = object({
enable = bool
interval = string
sampling = number
metadata = string
})
})
description = "Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob/master/docs/input.md"
}
variable "gke_node_groups" {
type = list(object({
pool_name = string
initial_node_count = number
min_node_count = number
max_node_count = number
disk_size_gb = number
auto_repair = bool
auto_upgrade = bool
is_preemptible = bool
disk_type = string
instance_image_type = string
oauth_scopes = list(string)
machine_type = string
enable_autoscaling = bool
}))
description = "Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob/master/docs/input.md"
}
variable "gke_cluster" {
type = object({
cluster_name = string
kubernetes_version = string
logging_service = string
monitoring_service = string
master_ipv4_cidr_block = string
regional = bool
enable_private_endpoint = bool
daily_maintenance_window = string
authorized_networks = list(object({
display_name = string
cidr_block = string
}))
})
description = "Find documentation here: https://github.com/atb00ker/terraform-gcp-openwisp/blob/master/docs/input.md"
}