-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
47 lines (43 loc) · 1.22 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
#######
# Helm
#######
variable "helm_config" {
description = "Helm chart config. Repository and version required. See https://registry.terraform.io/providers/hashicorp/helm/latest/docs"
type = any
}
variable "set_values" {
description = "Forced set values"
type = any
default = []
}
variable "set_sensitive_values" {
description = "Forced set_sensitive values"
type = any
default = []
}
variable "set_list_values" {
description = "Forced set_list values"
type = any
default = []
}
#######
# IRSA
#######
variable "irsa_config" {
description = "Input configuration for IRSA module"
type = object({
role_name = optional(string, "")
role_policy_arns = optional(map(string), {})
create_kubernetes_namespace = optional(bool, false)
create_kubernetes_service_account = optional(bool, false)
kubernetes_namespace = optional(string, "")
kubernetes_service_account = optional(string, "")
oidc_providers = optional(any, null)
})
default = {}
}
variable "tags" {
description = "A map of tags to add the the IAM role"
type = map(string)
default = {}
}