-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvariables.tf
82 lines (69 loc) · 1.79 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
variable "name" {
type = string
description = "The name of the role"
}
variable "assume_policy" {
type = string
default = null
description = "The assume policy to attach to the role"
}
variable "create_policy" {
type = bool
default = null
description = "Overrule whether the IAM role policy has to be created"
}
variable "description" {
type = string
default = null
description = "The description of the role"
}
variable "force_detach_policies" {
type = bool
default = false
description = "Force detaching any policies the role has before destroying it"
}
variable "max_session_duration" {
type = number
default = 3600
description = "The maximum session duration (in seconds) for the role"
}
variable "path" {
type = string
default = "/"
description = "Path to the role"
}
variable "permissions_boundary" {
type = string
default = null
description = "The permissions boundary to set on the role"
}
variable "principal_type" {
type = string
default = ""
description = "The type of assume role principal"
}
variable "principal_identifiers" {
type = list(string)
default = []
description = "List of identifiers for principals"
}
variable "policy_arns" {
type = set(string)
default = []
description = "A set of policy ARNs to attach to the user"
}
variable "postfix" {
type = bool
default = true
description = "Postfix the role and policy names with Role and Policy"
}
variable "role_policy" {
type = string
default = null
description = "The IAM policy to attach to the role"
}
variable "tags" {
type = map(string)
default = null
description = "A mapping of tags to assign to the role"
}