-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvariables.tf
58 lines (48 loc) · 1.52 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
variable "ami" {
description = "The AMI for the GitHub Runner backing EC2 Instance"
type = string
}
variable "instance_type" {
description = "The type of the EC2 instance backing the GitHub Runner"
type = string
}
variable "key_name" {
description = "The KeyPair name for accessing (SSH) into the EC2 instance backing the GitHub Runner"
type = string
}
variable "github_repo_url" {
description = "The GitHub Repo URL for which the GitHub Runner to be registered with"
type = string
}
variable "github_repo_pat_token" {
description = "The GitHub Repo Pat Token that would be used by the GitHub Runner to authenticate with the GitHub Repo"
type = string
}
variable "runner_name" {
description = "The name to give to the GitHub Runner so you can easily identify it"
type = string
}
variable "labels" {
description = "A list of additional labels to attach to the runner instance"
type = list(string)
}
variable "health_check_grace_period" {
description = "The health check grace period"
type = number
default = 600
}
variable "desired_capacity" {
description = "The desired number of EC2 instances in the AutoScaling Group"
type = number
default = 1
}
variable "min_size" {
description = "The Minimum number of EC2 instances in the AutoScaling Group"
type = number
default = 1
}
variable "max_size" {
description = "The Maximum number of EC2 instances in the AutoScaling Group"
type = number
default = 1
}