-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvariables.tf
42 lines (38 loc) · 1.02 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
variable "node_roles" {
description = "(Optional) A list of ARNs of AWS IAM Roles for EKS node."
type = list(string)
default = []
nullable = false
}
variable "fargate_profile_roles" {
description = "(Optional) A list of ARNs of AWS IAM Roles for EKS fargate profiles."
type = list(string)
default = []
nullable = false
}
variable "map_roles" {
description = "(Optional) Additional mapping for IAM roles and Kubernetes RBAC."
type = list(object({
iam_role = string
username = string
groups = list(string)
}))
default = []
nullable = false
}
variable "map_users" {
description = "(Optional) Additional mapping for IAM users and Kubernetes RBAC."
type = list(object({
iam_user = string
username = string
groups = list(string)
}))
default = []
nullable = false
}
variable "map_accounts" {
description = "(Optional) AWS account numbers to automatically map IAM ARNs from."
type = list(string)
default = []
nullable = false
}