File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ locals {
75
75
{
76
76
aws_region = var.aws_region
77
77
gitlab_url = var.runners_gitlab_url
78
+ gitlab_clone_url = var.runners_clone_url
78
79
runners_vpc_id = var.vpc_id
79
80
runners_subnet_id = length (var. subnet_id ) > 0 ? var.subnet_id : var.subnet_id_runners
80
81
runners_aws_zone = data.aws_availability_zone.runners.name_suffix
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ listen_address = "${prometheus_listen_address}"
7
7
[[runners]]
8
8
name = "${ runners_name} "
9
9
url = "${ gitlab_url} "
10
+ clone_url = "${ gitlab_clone_url} "
10
11
token = "${ runners_token} "
11
12
executor = "${ runners_executor} "
12
13
environment = ${ runners_environment_vars}
Original file line number Diff line number Diff line change @@ -163,6 +163,12 @@ variable "runners_gitlab_url" {
163
163
type = string
164
164
}
165
165
166
+ variable "runners_clone_url" {
167
+ description = " Overwrites the URL for the GitLab instance. Use only if the runner can’t connect to the GitLab URL."
168
+ type = string
169
+ default = " "
170
+ }
171
+
166
172
variable "runners_token" {
167
173
description = " Token for the runner, will be used in the runner config.toml."
168
174
type = string
You can’t perform that action at this time.
0 commit comments