From aa809cd121835a907f92920006bf2b7e094caeb3 Mon Sep 17 00:00:00 2001 From: Sergey Date: Thu, 16 Jan 2025 19:13:28 +0800 Subject: [PATCH] Added lifecycle to ignore null changes --- main.tf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 72f6eaa..e15edb3 100644 --- a/main.tf +++ b/main.tf @@ -193,6 +193,11 @@ resource "aws_msk_cluster" "this" { } } } - + lifecycle { + ignore_changes = [ + # Ignore changes to provisioned_throughput to avoid errors + broker_node_group_info[0].storage_info[0].ebs_storage_info[0].provisioned_throughput, + ] + } tags = var.tags }