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:
parent
159443bae7
commit
9d16f5c78a
|
@ -30,7 +30,7 @@ resource "google_compute_target_pool" "controllers" {
|
|||
name = "${var.cluster_name}-controller-pool"
|
||||
|
||||
instances = [
|
||||
"${formatlist("%s/%s", google_compute_instance.controllers.*.zone, google_compute_instance.controllers.*.name)}",
|
||||
"${google_compute_instance.controllers.*.self_link}",
|
||||
]
|
||||
|
||||
health_checks = [
|
||||
|
|
|
@ -5,7 +5,7 @@ terraform {
|
|||
}
|
||||
|
||||
provider "google" {
|
||||
version = "~> 1.1"
|
||||
version = "~> 1.2"
|
||||
}
|
||||
|
||||
provider "local" {
|
||||
|
|
Loading…
Reference in New Issue