Skip to content

Commit 5fa1c35

Browse files
committed
msk ignore configuration_info
1 parent dfa89ae commit 5fa1c35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

code/fixtf_aws_resources/fixtf_kafka.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ def aws_msk_cluster(t1,tt1,tt2,flag1,flag2):
2121
# pass the arn
2222
common.add_dependancy("aws_msk_configuration", tt2)
2323
elif tt1=="volume_throughput" and tt2=="0": skip=1
24+
elif tt1=="cluster_name":
25+
t1=t1+ "\nlifecycle {\n" + " ignore_changes = [configuration_info]\n" + "}\n"
26+
2427
#elif tt1=="arn" and tt2!="null":
2528
# t1=tt1+" = aws_msk_configuration."+tarn+".arn\n"
2629

0 commit comments

Comments
 (0)