Skip to content

Commit a2e7f63

Browse files
committed
Remove default region for Jenkins workers
1 parent 8fba12e commit a2e7f63

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Please see the [examples](./examples/) folder.
4444
| jenkins_workers_num_executors | The number of concurrent jobs that can run on each Jenkins worker | string | `1` | no |
4545
| jenkins_workers_preemptible | Whether to launch Jenkins workers as preemptible instances | string | `false` | no |
4646
| jenkins_workers_project_id | The GCP project to deploy Jenkins workers within | string | - | yes |
47-
| jenkins_workers_region | The name of the region into which to deploy Jenkins workers | string | `us-east4` | no |
47+
| jenkins_workers_region | The name of the region into which to deploy Jenkins workers | string | - | yes |
4848
| jenkins_workers_retention_time_minutes | The number of minutes for Jenkins workers to remain online after completing their last job | string | `6` | no |
4949
| jenkins_workers_run_as_user | The user to run Jenkins jobs as on workers | string | `ubuntu` | no |
5050
| jenkins_workers_service_account_email | The service account email to assign to Jenkins workers. Leave blank for the default compute service account | string | `` | no |

examples/simple_example/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ module "jenkins-gce" {
9595
jenkins_instance_network = "${var.network}"
9696
jenkins_instance_subnetwork = "${var.subnetwork}"
9797
jenkins_instance_additional_metadata = "${var.jenkins_instance_metadata}"
98+
jenkins_workers_region = "${var.region}"
9899
jenkins_workers_project_id = "${google_project_service.iam.project}"
99100
jenkins_workers_zone = "us-east4-a"
100101
jenkins_workers_machine_type = "n1-standard-1"

variables.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ variable "jenkins_workers_name_prefix" {
108108

109109
variable "jenkins_workers_region" {
110110
description = "The name of the region into which to deploy Jenkins workers"
111-
default = "us-east4"
112111
}
113112

114113
variable "jenkins_workers_zone" {

0 commit comments

Comments
 (0)