-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
90 lines (79 loc) · 1.68 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
variable "parent_project_id" {
type = string
}
variable "name" {
type = string
}
variable "domain" {
type = string
}
variable "region" {
type = string
}
variable "k8s_version" {
type = string
default = null
}
variable "vpc_uuid" {
type = string
}
variable "auto_upgrade" {
type = bool
}
variable "surge_upgrade" {
type = bool
}
variable "default_cluster_node_group" {
type = object({
size : string,
node_count : number,
auto_scale : bool,
min_nodes : number,
max_nodes : number,
tags : list(string),
labels : map(string),
})
}
variable "extra_cluster_node_groups" {
type = list(object({
size : string,
node_count : number,
auto_scale : bool,
min_nodes : number,
max_nodes : number,
tags : list(string),
labels : map(string),
}))
}
#ariable "cluster_services" {
# type = object({
# cert_manager : object({
#
# })
# traefik : object({
# namespace : string,
# log_level : string,
# replicas : number,
# rolling_update_max_surge : number,
# rolling_update_max_unavailable : number,
# pod_termination_grace_period_seconds : number
# })
# # With any luck we'll be able to default `argocd` to null here. Until then we'll just have to do that in the calling module.
# argocd : object({
# namespace : string,
# server_replicas : number,
# repo_replicas : number,
# enable_dex : bool,
# enable_ha_redis : bool,
# oidc_name : string,
# oidc_issuer : string,
# oidc_client_id : string,
# oidc_client_secret : string,
# oidc_requested_scopes : list(string),
# oidc_requested_id_token_claims : map(any)
# })
# })
#
variable "tags" {
type = list(string)
}