diff --git a/google-cloud/container-linux/kubernetes/controllers/controllers.tf b/google-cloud/container-linux/kubernetes/controllers/controllers.tf index 560f3c9f..abb8012b 100644 --- a/google-cloud/container-linux/kubernetes/controllers/controllers.tf +++ b/google-cloud/container-linux/kubernetes/controllers/controllers.tf @@ -55,6 +55,9 @@ resource "google_compute_instance_template" "controller" { boot = true source_image = "${var.os_image}" disk_size_gb = "${var.disk_size}" + // Set explicit name to match the new default name set by the API. + // https://github.com/terraform-providers/terraform-provider-google/issues/574 + device_name = "persistent-disk-0" } network_interface { diff --git a/google-cloud/container-linux/kubernetes/workers/workers.tf b/google-cloud/container-linux/kubernetes/workers/workers.tf index 659e1963..094ba397 100644 --- a/google-cloud/container-linux/kubernetes/workers/workers.tf +++ b/google-cloud/container-linux/kubernetes/workers/workers.tf @@ -55,6 +55,9 @@ resource "google_compute_instance_template" "worker" { boot = true source_image = "${var.os_image}" disk_size_gb = "${var.disk_size}" + // Set explicit name to match the new default name set by the API. + // https://github.com/terraform-providers/terraform-provider-google/issues/574 + device_name = "persistent-disk-0" } network_interface {