Require google provider version ~> 1.1
* Require google provider plugin 1.1 or higher which includes fix:
https://github.com/terraform-providers/terraform-provider-google/issues/574
* Remove workaround which statically set the persistent disk name
* Original reasons for workaround in a97df839
or GH #34
This commit is contained in:
parent
26a291aef4
commit
a48dd9ebd8
|
@ -50,10 +50,6 @@ 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 {
|
||||
|
|
|
@ -5,7 +5,7 @@ terraform {
|
|||
}
|
||||
|
||||
provider "google" {
|
||||
version = "~> 1.0"
|
||||
version = "~> 1.1"
|
||||
}
|
||||
|
||||
provider "local" {
|
||||
|
|
|
@ -56,10 +56,6 @@ 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 {
|
||||
|
|
Loading…
Reference in New Issue