This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
forked from DNXLabs/terraform-aws-eks-github-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_variables.tf
134 lines (112 loc) · 3.65 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
variable "enabled" {
type = bool
default = true
description = "Variable indicating whether deployment is enabled."
}
variable "ephemeral_runner" {
type = bool
default = true
description = "Variable indicating whether the runner restarts after running jobs."
}
variable "create_iam_role" {
type = bool
default = true
description = "Variable indicating whether it creates iam role."
}
variable "service_account_iam_role_arn" {
type = string
default = ""
description = "Variable indicating the iam role arn to be used by the service account."
}
variable "cluster_name" {
type = string
description = "The name of the cluster."
}
variable "cluster_identity_oidc_issuer" {
type = string
description = "The OIDC Identity issuer for the cluster."
}
variable "cluster_identity_oidc_issuer_arn" {
type = string
description = "The OIDC Identity issuer ARN for the cluster that can be used to associate IAM roles with a service account."
}
variable "helm_chart_name" {
type = string
default = "actions-runner-controller"
description = "GitHub Runner Controller Helm chart name."
}
variable "helm_chart_release_name" {
type = string
default = "actions-runner-controller"
description = "GitHub Runner Controller Helm chart release name."
}
variable "helm_chart_repo" {
type = string
default = "https://actions-runner-controller.github.io/actions-runner-controller"
description = "GitHub Runner Controller Helm repository name."
}
variable "helm_chart_version" {
type = string
default = "0.12.2"
description = "GitHub Runner Controller Helm chart version."
}
variable "github_app_app_id" {
type = string
description = "The ID of your GitHub App. This can't be set at the same time as `github_token`"
}
variable "github_app_installation_id" {
type = string
description = "The ID of your GitHub App installation. This can't be set at the same time as `github_token`"
}
variable "github_app_private_key" {
type = string
description = "The multiline string of your GitHub App's private key. This can't be set at the same time as `github_token`"
}
variable "github_token" {
type = string
default = ""
description = "Your chosen GitHub PAT token. This can't be set at the same time as the `github_app_*`"
}
variable "github_organizations" {
type = list(object({
name = string
replicas = number
label = string
}))
default = []
}
variable "github_repositories" {
type = list(object({
name = string
replicas = number
label = string
}))
default = []
}
variable "policy_arns" {
type = list(string)
default = []
}
variable "create_namespace" {
type = bool
default = true
description = "Whether to create Kubernetes namespace with name defined by `namespace`."
}
variable "namespace" {
type = string
default = "actions-runner-system"
description = "GitHub Runner Controller Helm chart namespace which the service will be created."
}
variable "service_account_name" {
type = string
default = "github-actions-runner-controller"
description = "GitHub runner service account name."
}
variable "mod_dependency" {
default = null
description = "Dependence variable binds all AWS resources allocated by this module, dependent modules reference this variable."
}
variable "settings" {
default = {}
description = "Additional settings which will be passed to the Helm chart values, see https://github.com/actions-runner-controller/actions-runner-controller/blob/master/charts/actions-runner-controller/README.md"
}