11variable "ami_id" {
22 description = " AMI to use for the instance"
33 type = string
4- default = " ami-01783a07b28906745"
54}
65
76variable "instance_type" {
87 description = " Type of instance to provision"
98 type = string
10- default = " t2.micro"
119}
1210
1311variable "instance_count" {
1412 description = " Number of instances to provision"
1513 type = number
16- default = 2
14+ default = 1
1715}
1816
1917variable "vpc_security_group_ids" {
@@ -25,7 +23,6 @@ variable "vpc_security_group_ids" {
2523variable "subnet_id" {
2624 description = " VPC Subnet ID to launch in"
2725 type = string
28- default = " "
2926}
3027
3128variable "additional_tags" {
@@ -35,15 +32,13 @@ variable "additional_tags" {
3532}
3633
3734variable "gitlab_url" {
38- description = " Gitlab URL "
35+ description = " URL of your Gitlab instance "
3936 type = string
40- default = " "
4137}
4238
4339variable "runner_registration_token" {
44- description = " Gitlab registration token"
40+ description = " Registration token for Gitlab Runners "
4541 type = string
46- default = " "
4742}
4843
4944variable "docker_image" {
@@ -59,25 +54,25 @@ variable "runner_description" {
5954}
6055
6156variable "runner_tags" {
62- description = " Runner tags "
57+ description = " Tags for Gitlab Runners for filtering "
6358 type = list (string )
6459 default = [" docker" , " aws" ]
6560}
6661
6762variable "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
7368variable "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
7974variable "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