mirror of
https://github.com/puppetmaster/typhoon.git
synced 2025-07-03 05:44:35 +02:00
Rename worker pool modules' count variable to worker_count
* This change affects users who use worker pools on AWS, GCP, or Azure with a Container Linux derivative * Rename worker pool modules' `count` variable to `worker_count`, because `count` will be a reserved variable name in Terraform v0.12
This commit is contained in:
@ -22,7 +22,7 @@ variable "network" {
|
||||
|
||||
# instances
|
||||
|
||||
variable "count" {
|
||||
variable "worker_count" {
|
||||
type = "string"
|
||||
default = "1"
|
||||
description = "Number of worker compute instances the instance group should manage"
|
||||
|
@ -8,7 +8,7 @@ resource "google_compute_region_instance_group_manager" "workers" {
|
||||
instance_template = "${google_compute_instance_template.worker.self_link}"
|
||||
region = "${var.region}"
|
||||
|
||||
target_size = "${var.count}"
|
||||
target_size = "${var.worker_count}"
|
||||
target_pools = ["${google_compute_target_pool.workers.self_link}"]
|
||||
|
||||
named_port {
|
||||
|
Reference in New Issue
Block a user