From f8d99349a0cbcd6e1e7bc0db3b810790d658fe8f Mon Sep 17 00:00:00 2001 From: Sonny Garcia Date: Mon, 9 Dec 2019 15:08:42 -0500 Subject: [PATCH 1/2] fixes container cluster recreation during plan this change seems like best we can do until the logic in the underlying provider has been fixed. --- main.tf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/main.tf b/main.tf index b2a1e88..1f7603c 100644 --- a/main.tf +++ b/main.tf @@ -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 } From f359272434e56c83d7c355565131ce0175026e7f Mon Sep 17 00:00:00 2001 From: Sonny Garcia Date: Mon, 9 Dec 2019 15:10:11 -0500 Subject: [PATCH 2/2] uses latest terraform version walk along the razor's edge...push it to the limit! --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6f1d48e..143f9e1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ jobs: CLOUDSDK_CORE_PROJECT: domino-eng-platform-dev CLOUDSDK_COMPUTE_ZONE: us-west1-a GOOGLE_APPLICATION_CREDENTIALS: /root/.config/gcloud/legacy_credentials/terraform-gke-test@domino-eng-platform-dev.iam.gserviceaccount.com/adc.json - TERRAFORM_VERSION: 0.12.12 + TERRAFORM_VERSION: 0.12.17 steps: - checkout