From 04c2125a43233e675b01e81a6373eaac36bf7ec6 Mon Sep 17 00:00:00 2001 From: Maxime Noel Date: Tue, 22 Oct 2024 13:30:34 +1300 Subject: [PATCH] Add support for proxy_containerized module in tf module cleaner. --- terracumber/tf_module_cleaner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terracumber/tf_module_cleaner.py b/terracumber/tf_module_cleaner.py index 3a158d9..a888aaf 100644 --- a/terracumber/tf_module_cleaner.py +++ b/terracumber/tf_module_cleaner.py @@ -24,6 +24,8 @@ def get_default_modules(maintf_content, tf_resources_to_delete): exclusions.extend(['terminal', 'buildhost']) if 'proxy' in tf_resources_to_delete: exclusions.append('proxy') + if 'proxy_containerized' in tf_resources_to_delete: + exclusions.append('proxy_containerized') if 'monitoring-server' in tf_resources_to_delete: exclusions.append('monitoring-server')