From 0826402fcbcc862a9eb33eb96bd098029f4cde5d Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Fri, 9 Jul 2021 02:09:42 -0400 Subject: [PATCH] Ignore changes to node count because auto scaling. --- main.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.tf b/main.tf index 7d65f9a..fca170d 100644 --- a/main.tf +++ b/main.tf @@ -199,6 +199,12 @@ resource "google_container_node_pool" "primary" { } } + lifecycle { + ignore_changes = [ + node_count + ] + } + depends_on = [ google_project_service.container ]