mirror of
https://github.com/puppetmaster/typhoon.git
synced 2025-04-02 04:21:10 +02: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:
parent
26a291aef4
commit
a48dd9ebd8
@ -50,10 +50,6 @@ resource "google_compute_instance_template" "controller" {
|
|||||||
boot = true
|
boot = true
|
||||||
source_image = "${var.os_image}"
|
source_image = "${var.os_image}"
|
||||||
disk_size_gb = "${var.disk_size}"
|
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 {
|
network_interface {
|
||||||
|
@ -5,7 +5,7 @@ terraform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
provider "google" {
|
provider "google" {
|
||||||
version = "~> 1.0"
|
version = "~> 1.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
provider "local" {
|
provider "local" {
|
||||||
|
@ -56,10 +56,6 @@ resource "google_compute_instance_template" "worker" {
|
|||||||
boot = true
|
boot = true
|
||||||
source_image = "${var.os_image}"
|
source_image = "${var.os_image}"
|
||||||
disk_size_gb = "${var.disk_size}"
|
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 {
|
network_interface {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user