-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
34 lines (29 loc) · 749 Bytes
/
variables.tf
File metadata and controls
34 lines (29 loc) · 749 Bytes
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
variable "role_name" {
type = string
description = "The IAM role name"
default = null
}
variable "policy_name" {
type = string
description = "The IAM role policy name"
default = null
}
variable "policy" {
type = string
description = "The IAM role policy in JSON format"
default = null
}
variable "policy_arns" {
type = set(string)
description = "Set of IAM policy ARNs to attach to the role"
default = []
}
variable "sub" {
type = string
description = "The sub pattern for the assume role policy (e.g. org/repo:ref:refs/heads/master)"
}
variable "tags" {
type = map(string)
description = "The tags to apply to all resources created"
default = {}
}