Update min Google plugin and remove target pool workaround

* With google provider 1.2, target pool instances can use self_link
and zone/name formats without causing a diff on each plan
* Original workaround: 77fc14db71
This commit is contained in:
Dalton Hubble 2017-11-10 21:15:19 -08:00
parent 159443bae7
commit 9d16f5c78a
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ resource "google_compute_target_pool" "controllers" {
name = "${var.cluster_name}-controller-pool" name = "${var.cluster_name}-controller-pool"
instances = [ instances = [
"${formatlist("%s/%s", google_compute_instance.controllers.*.zone, google_compute_instance.controllers.*.name)}", "${google_compute_instance.controllers.*.self_link}",
] ]
health_checks = [ health_checks = [

View File

@ -5,7 +5,7 @@ terraform {
} }
provider "google" { provider "google" {
version = "~> 1.1" version = "~> 1.2"
} }
provider "local" { provider "local" {