1
0
mirror of https://github.com/poseidon/typhoon synced 2024-11-17 20:14:02 +01:00

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:
Dalton Hubble 2017-11-04 12:48:01 -07:00
parent 26a291aef4
commit a48dd9ebd8
3 changed files with 1 additions and 9 deletions

@ -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 {