Add disk_size variable on Google Cloud

This commit is contained in:
Dalton Hubble
2018-03-25 22:04:14 -07:00
parent ba9daf439e
commit 8d3d4220fd
6 changed files with 15 additions and 2 deletions

View File

@ -10,6 +10,7 @@ module "controllers" {
count = "${var.controller_count}"
machine_type = "${var.machine_type}"
os_image = "${var.os_image}"
disk_size = "${var.disk_size}"
# configuration
networking = "${var.networking}"
@ -31,6 +32,7 @@ module "workers" {
count = "${var.worker_count}"
machine_type = "${var.machine_type}"
os_image = "${var.os_image}"
disk_size = "${var.disk_size}"
preemptible = "${var.worker_preemptible}"
# configuration

View File

@ -43,7 +43,7 @@ variable "os_image" {
variable "disk_size" {
type = "string"
default = "40"
description = "The size of the disk in gigabytes."
description = "Size of the disk in GB"
}
# configuration

View File

@ -46,6 +46,12 @@ variable "os_image" {
description = "Container Linux image for compute instances (e.g. coreos-stable)"
}
variable "disk_size" {
type = "string"
default = "40"
description = "Size of the disk in GB"
}
variable "worker_preemptible" {
type = "string"
default = "false"

View File

@ -43,7 +43,7 @@ variable "os_image" {
variable "disk_size" {
type = "string"
default = "40"
description = "The size of the disk in gigabytes."
description = "Size of the disk in GB"
}
variable "preemptible" {