-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
79 lines (66 loc) · 1.71 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
variable "ami_id" {
description = "AMI to use for the instance"
type = string
default = "ami-0675b5ed3c8c1f754"
}
variable "instance_type" {
description = "Type of instance to provision"
type = string
default = "t2.micro"
}
variable "instance_count" {
description = "Number of instances to provision"
type = number
default = 1
}
variable "vpc_security_group_ids" {
description = "List of security group IDs to associate"
type = list(string)
}
variable "subnet_id" {
description = "VPC Subnet ID to launch in"
type = string
}
variable "additional_tags" {
description = "Additional tags to apply to the resources"
type = map(string)
default = {}
}
variable "gitlab_url" {
description = "URL of your Gitlab instance"
type = string
}
variable "runner_registration_token" {
description = "Registration token for Gitlab Runners"
type = string
}
variable "docker_image" {
description = "Docker image to use"
type = string
default = "alpine"
}
variable "runner_description" {
description = "Description for Gitlab Runners"
type = string
default = "Docker Runner"
}
variable "runner_tags" {
description = "Tags for Gitlab Runners for filtering"
type = list(string)
default = ["docker", "aws"]
}
variable "run_untagged_jobs" {
description = "Should run untagged jobs or not"
type = bool
default = true
}
variable "runner_locked" {
description = "Should Lock the runners or not"
type = bool
default = false
}
variable "ssh_public_key" {
description = "Existing SSH public key to use for the key pair"
type = string
default = null
}