-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
38 lines (33 loc) · 1.06 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
variable "github_repository" {
type = string
description = "The name of the Github repository to add the role for"
}
variable "github_owner" {
type = string
description = "The Github user or organisation name that owns repository to add the role for"
}
variable "git_ref" {
type = string
description = "The git refs for branches which can assume this role"
default = "refs/heads/main"
}
variable "oicd_provider_arn" {
type = string
description = "The ARN of the Github Actions OIDC provider (if not provided, the module will use a data provider to find it)"
default = null
}
variable "policy_arn_list" {
type = list(string)
default = []
description = "A list of policy ARNs to attach to the role (there are the AWS permissions that your Github Actions pipeline will have)"
}
variable "custom_policy" {
type = object(
{
Version = string
Statement = list(any)
}
)
default = null
description = "A custom policy to attach to your role if you want more fine grained permissions"
}