Skip to content

Commit 495c563

Browse files
committed
Update description for variables
1 parent 8e489fc commit 495c563

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

variables.tf

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
variable "ami_id" {
22
description = "AMI to use for the instance"
33
type = string
4-
default = "ami-01783a07b28906745"
54
}
65

76
variable "instance_type" {
87
description = "Type of instance to provision"
98
type = string
10-
default = "t2.micro"
119
}
1210

1311
variable "instance_count" {
1412
description = "Number of instances to provision"
1513
type = number
16-
default = 2
14+
default = 1
1715
}
1816

1917
variable "vpc_security_group_ids" {
@@ -25,7 +23,6 @@ variable "vpc_security_group_ids" {
2523
variable "subnet_id" {
2624
description = "VPC Subnet ID to launch in"
2725
type = string
28-
default = ""
2926
}
3027

3128
variable "additional_tags" {
@@ -35,15 +32,13 @@ variable "additional_tags" {
3532
}
3633

3734
variable "gitlab_url" {
38-
description = "Gitlab URL"
35+
description = "URL of your Gitlab instance"
3936
type = string
40-
default = ""
4137
}
4238

4339
variable "runner_registration_token" {
44-
description = "Gitlab registration token"
40+
description = "Registration token for Gitlab Runners"
4541
type = string
46-
default = ""
4742
}
4843

4944
variable "docker_image" {
@@ -59,25 +54,25 @@ variable "runner_description" {
5954
}
6055

6156
variable "runner_tags" {
62-
description = "Runner tags"
57+
description = "Tags for Gitlab Runners for filtering"
6358
type = list(string)
6459
default = ["docker", "aws"]
6560
}
6661

6762
variable "run_untagged_jobs" {
68-
description = "Run untagged jobs or not"
63+
description = "Should run untagged jobs or not"
6964
type = bool
7065
default = true
7166
}
7267

7368
variable "runner_locked" {
74-
description = "Lock the runner or not"
69+
description = "Should Lock the runners or not"
7570
type = bool
7671
default = false
7772
}
7873

7974
variable "ssh_public_key" {
80-
description = "SSH public key to use for the key pair"
75+
description = "Existing SSH public key to use for the key pair"
8176
type = string
8277
default = null
8378
}

0 commit comments

Comments
 (0)