-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathvariables.tf
102 lines (88 loc) · 2.5 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
#Module : LABEL
#Description : Terraform label module variables
variable "name" {
type = string
default = ""
description = "Name (e.g. `app` or `cluster`)."
}
variable "repository" {
type = string
default = ""
description = "https://github.com/clouddrove/terraform-aws-iam-role"
}
variable "environment" {
type = string
default = ""
description = "Environment (e.g. `prod`, `dev`, `staging`)."
}
variable "label_order" {
type = list(any)
default = ["name", "environment"]
description = "Label order, e.g. `name`,`application`."
}
variable "managedby" {
type = string
default = "[email protected]"
description = "ManagedBy, eg 'CloudDrove'"
}
# Module : Iam Role
# Description : Terraform Iam Role module variables.
variable "enabled" {
type = bool
default = true
description = "Whether to create Iam role."
}
variable "assume_role_policy" {
type = string
default = null
sensitive = true
description = "Whether to create Iam role."
}
variable "managed_policy_arns" {
type = list(any)
default = []
description = "Set of exclusive IAM managed policy ARNs to attach to the IAM role"
}
variable "force_detach_policies" {
type = bool
default = false
description = "The policy that grants an entity permission to assume the role."
}
variable "path" {
type = string
default = "/"
description = "The path to the role."
}
variable "description" {
type = string
default = ""
description = "The description of the role."
}
variable "max_session_duration" {
type = number
default = 3600
description = "The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours."
}
variable "permissions_boundary" {
type = string
default = ""
description = "The ARN of the policy that is used to set the permissions boundary for the role."
sensitive = true
}
variable "policy" {
type = string
default = null
description = "The policy document."
sensitive = true
}
variable "policy_enabled" {
type = bool
default = false
description = "Whether to Attach Iam policy with role."
}
variable "policy_arn" {
type = string
default = ""
description = "The ARN of the policy you want to apply."
sensitive = true
}