Skip to content

Commit

Permalink
issue #598: allow disabling preempt in terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
dw committed Aug 12, 2019
1 parent c89f6cb commit 9b45872
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/ansible/gcloud/mitogen-load-testing.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ variable "node-count" {
default = 0
}

variable "preemptible" {
default = true
}

variable "big" {
default = false
}
Expand Down Expand Up @@ -93,7 +97,7 @@ resource "google_compute_instance_template" "node" {
machine_type = "custom-1-1024"

scheduling {
preemptible = true
preemptible = "${var.preemptible}"
automatic_restart = false
}

Expand Down

0 comments on commit 9b45872

Please sign in to comment.