-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
168 lines (141 loc) · 6.25 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
# IMPORTANT: Add addon specific variables here
variable "enabled" {
type = bool
default = true
description = "Set to false to prevent the module from creating any resources."
}
variable "keda_operator_service_account_create" {
type = bool
default = true
description = "Whether to create the Service Account for the KEDA operator."
}
variable "keda_operator_service_account_name" {
type = string
default = "keda-operator"
description = "The name of the Service Account for the KEDA operator."
}
variable "keda_operator_irsa_role_create" {
type = bool
default = false
description = "Whether to create the IRSA role for the KEDA operator."
}
variable "keda_operator_irsa_policy_enabled" {
type = bool
default = false
description = "Whether to create IAM policy specified by `keda_operator_irsa_policy` for the KEDA operator. Mutually exclusive with `keda_operator_irsa_assume_role_enabled`."
}
variable "keda_operator_irsa_policy" {
type = string
default = ""
description = "Policy to be attached to the default role of the KEDA operator. Applied only if `keda_operator_irsa_policy_enabled` is `true`."
}
variable "keda_operator_irsa_assume_role_enabled" {
type = bool
default = false
description = "Whether IRSA for the KEDA operator is allowed to assume role defined by `keda_operator_irsa_assume_role_arn`. Mutually exclusive with `keda_operator_irsa_policy_enabled`."
}
variable "keda_operator_irsa_assume_role_arns" {
type = list(string)
default = []
description = "Assume role ARNs for the KEDA operator. Applied only if `keda_operator_irsa_assume_role_enabled` is `true`."
}
variable "keda_operator_irsa_permissions_boundary" {
type = string
default = null
description = "ARN of the policy that is used to set the permissions boundary for the IRSA role of the KEDA operator. Defaults to `\"\"`."
}
variable "keda_operator_irsa_additional_policies" {
type = map(string)
default = {}
description = "Map of the additional policies to be attached to default role of the KEDA operator. Where key is arbitrary id and value is policy ARN."
}
variable "keda_metric_server_service_account_create" {
type = bool
default = true
description = "Whether to create the Service Account for the KEDA metrics server."
}
variable "keda_metric_server_service_account_name" {
type = string
default = "keda-metrics-server"
description = "The name of the Service Account for the KEDA metrics server."
}
variable "keda_metric_server_irsa_role_create" {
type = bool
default = true
description = "Whether to create the IRSA role for the KEDA metrics server."
}
variable "keda_metric_server_irsa_policy_enabled" {
type = bool
default = false
description = "Whether to create IAM policy specified by `keda_metric_server_irsa_policy` for the KEDA metrics server. Mutually exclusive with `keda_metric_server_irsa_assume_role_enabled`."
}
variable "keda_metric_server_irsa_policy" {
type = string
default = ""
description = "Policy to be attached to the default role of the KEDA metrics server. Applied only if `keda_metric_server_irsa_policy_enabled` is `true`."
}
variable "keda_metric_server_irsa_assume_role_enabled" {
type = bool
default = false
description = "Whether IRSA for the KEDA metrics server is allowed to assume role defined by `keda_metric_server_irsa_assume_role_arn`. Mutually exclusive with `keda_metric_server_irsa_policy_enabled`."
}
variable "keda_metric_server_irsa_assume_role_arns" {
type = list(string)
default = []
description = "Assume role ARNs for the KEDA metrics server. Applied only if `keda_metric_server_irsa_assume_role_enabled` is `true`."
}
variable "keda_metric_server_irsa_permissions_boundary" {
type = string
default = null
description = "ARN of the policy that is used to set the permissions boundary for the IRSA role of the KEDA metrics server. Defaults to `\"\"`."
}
variable "keda_metric_server_irsa_additional_policies" {
type = map(string)
default = {}
description = "Map of the additional policies to be attached to default role of the KEDA metrics server. Where key is arbitrary id and value is policy ARN."
}
variable "keda_webhooks_service_account_create" {
type = bool
default = true
description = "Whether to create the Service Account for the KEDA webhooks."
}
variable "keda_webhooks_service_account_name" {
type = string
default = "keda-webhook"
description = "The name of the Service Account for the KEDA webhooks."
}
variable "keda_webhooks_irsa_role_create" {
type = bool
default = false
description = "Whether to create the IRSA role for the KEDA webhooks."
}
variable "keda_webhooks_irsa_policy_enabled" {
type = bool
default = false
description = "Whether to create IAM policy specified by `keda_webhooks_irsa_policy` for the KEDA operator. Mutually exclusive with `keda_webhooks_irsa_assume_role_enabled`."
}
variable "keda_webhooks_irsa_policy" {
type = string
default = ""
description = "Policy to be attached to the default role of the KEDA webhooks. Applied only if `keda_webhooks_irsa_policy_enabled` is `true`."
}
variable "keda_webhooks_irsa_assume_role_enabled" {
type = bool
default = false
description = "Whether IRSA for the KEDA webhooks is allowed to assume role defined by `keda_webhooks_irsa_assume_role_arn`. Mutually exclusive with `keda_webhooks_irsa_policy_enabled`."
}
variable "keda_webhooks_irsa_assume_role_arns" {
type = list(string)
default = []
description = "Assume role ARNs for the KEDA webhooks. Applied only if `keda_webhooks_irsa_assume_role_enabled` is `true`."
}
variable "keda_webhooks_irsa_permissions_boundary" {
type = string
default = null
description = "ARN of the policy that is used to set the permissions boundary for the IRSA role of the KEDA webhooks. Defaults to `\"\"`."
}
variable "keda_webhooks_irsa_additional_policies" {
type = map(string)
default = {}
description = "Map of the additional policies to be attached to default role of the KEDA webhooks. Where key is arbitrary id and value is policy ARN."
}