From 6b6ee30e8a0445e3b57676b9ab1fba866b78cbf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20L=C3=B6sche?= Date: Fri, 13 Oct 2023 11:41:48 +0200 Subject: [PATCH] [plugins/gcp][chore] Add more debug logging to GCP project discovery (#1804) --- plugins/gcp/resoto_plugin_gcp/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/gcp/resoto_plugin_gcp/__init__.py b/plugins/gcp/resoto_plugin_gcp/__init__.py index 27db00433f..b521e781aa 100644 --- a/plugins/gcp/resoto_plugin_gcp/__init__.py +++ b/plugins/gcp/resoto_plugin_gcp/__init__.py @@ -44,9 +44,11 @@ def collect(self) -> None: cloud = Cloud(id=self.cloud, name="Gcp") credentials = Credentials.all(feedback) + log.debug(f"Found {len(credentials)} GCP projects total") if len(Config.gcp.project) > 0: for project in list(credentials.keys()): if project not in Config.gcp.project: + log.debug(f"Skipping project {project} because it is not in the configured projects list") del credentials[project] if len(credentials) == 0: