From e8a6867fa77781c4ceb0f3e122373cddc0be33e7 Mon Sep 17 00:00:00 2001 From: g-greatdevaks Date: Wed, 30 Nov 2022 11:05:15 +0530 Subject: [PATCH] add lifecycle ignore_changes for apigee payg env Added lifecycle `ignore_changes` rule for Apigee PAYG Environment Node Config's `current_aggregate_node_count`. Changes committed: - modified: `modules/apigee/main.tf` --- modules/apigee/main.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/apigee/main.tf b/modules/apigee/main.tf index 74d3bf3acb..fe34a73829 100644 --- a/modules/apigee/main.tf +++ b/modules/apigee/main.tf @@ -52,6 +52,11 @@ resource "google_apigee_environment" "environments" { } } org_id = local.org_id + lifecycle { + ignore_changes = [ + node_config["current_aggregate_node_count"] + ] + } } resource "google_apigee_envgroup_attachment" "envgroup_attachments" {