-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
56 lines (50 loc) · 1.23 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
variable "aws_region" {
description = "default region for aws provider to use"
type = string
default = "us-east-1"
}
variable "map_accounts" {
description = "Additional AWS account numbers to add to the aws-auth configmap."
type = list(string)
default = []
}
variable "map_roles" {
description = "Additional IAM roles to add to the aws-auth configmap."
type = list(object({
rolearn = string
username = string
groups = list(string)
}))
default = [
# {
# rolearn = "arn:aws:iam::66666666666:role/role1"
# username = "role1"
# groups = ["system:masters"]
# },
]
}
variable "map_users" {
description = "Additional IAM users to add to the aws-auth configmap."
type = list(object({
userarn = string
username = string
groups = list(string)
}))
default = [
# {
# userarn = "arn:aws:iam::66666666666:user/user1"
# username = "user1"
# groups = ["system:masters"]
# },
# {
# userarn = "arn:aws:iam::66666666666:user/user2"
# username = "user2"
# groups = ["system:masters"]
# },
]
}
variable "vpc_suffix" {
description = "Suffix to add to VPC name to avoid collisions"
type = string
default = ""
}