Skip to content

Commit

Permalink
fixes container cluster recreation during plan
Browse files Browse the repository at this point in the history
this change seems like best we can do until the logic in the underlying
provider has been fixed.
  • Loading branch information
sonnysideup committed Dec 9, 2019
1 parent aa65fcf commit f8d9934
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,19 @@ resource "google_container_cluster" "domino_cluster" {
}
}

# This resource's provider has issues with reconciling the remote/local state
# of the `issue_client_certificate` field because we use channels to
# implicitly set a cluster version.
#
# We're going to ignore all changes to the `master_auth` block since we set
# these values statically. Hopefully, this issue will be resolved in a future
# version of the provider. See the following issue for more context.
#
# https://github.com/terraform-providers/terraform-provider-google/issues/3369#issuecomment-487226330
lifecycle {
ignore_changes = [master_auth]
}

vertical_pod_autoscaling {
enabled = var.enable_vertical_pod_autoscaling
}
Expand Down

0 comments on commit f8d9934

Please sign in to comment.