-
Notifications
You must be signed in to change notification settings - Fork 0
/
inputs.tf
34 lines (29 loc) · 885 Bytes
/
inputs.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
variable "name" {
type = string
description = "The name to use for this role"
default = "github_actions_role"
}
variable "subjects" {
type = list(string)
description = "The list of subjects to allow to assume this role."
}
variable "inline_policies" {
type = map(string)
description = "A map of inline policies (JSON) to attach to this role. Keys will be used as the policy name."
default = {}
}
variable "managed_policy_arns" {
type = list(string)
description = "A list of AWS managed policies arns to attach to this role."
default = []
}
variable "add_oidc_provider" {
type = bool
description = "Whether to add the OIDC provider for GitHub Actions. Default true"
default = true
}
variable "tags" {
type = map(string)
description = "A map of tags to add to the role."
default = {}
}