google-cloud: Remove deprecated automatic_restart field

* In terraform-provider-google v0.1.3, it is no longer neccessary
to supply a (duplicated) value for the instance_template field
automatic_restart
* Previously this field was set to match the scheduling
automatic_restart since the field defaulted to true and would
cause plan to always show changes were needed
This commit is contained in:
Dalton Hubble
2017-08-25 00:14:02 -07:00
parent 6a574d4a01
commit 056bd8a059
3 changed files with 3 additions and 9 deletions

View File

@ -50,9 +50,6 @@ resource "google_compute_instance_template" "worker" {
preemptible = "${var.preemptible}"
}
# QUIRK: Undocumented field defaults to true if not set
automatic_restart = "${var.preemptible ? false : true}"
disk {
auto_delete = true
boot = true