Add optional controller_type and worker_type vars on GCP

* Remove optional machine_type variable on Google Cloud
* Use controller_type and worker_type instead
This commit is contained in:
Dalton Hubble
2018-03-25 22:11:18 -07:00
parent 8d3d4220fd
commit fdb543e834
5 changed files with 19 additions and 9 deletions

View File

@ -34,10 +34,16 @@ variable "worker_count" {
description = "Number of workers"
}
variable "machine_type" {
type = "string"
default = "n1-standard-1"
description = "Machine type for compute instances (see `gcloud compute machine-types list`)"
variable controller_type {
type = "string"
default = "n1-standard-1"
description = "Machine type for controllers (see `gcloud compute machine-types list`)"
}
variable worker_type {
type = "string"
default = "n1-standard-1"
description = "Machine type for controllers (see `gcloud compute machine-types list`)"
}
variable "os_image" {