From ffc978eac93219b5b0eee82a66e97b7ab87df20b Mon Sep 17 00:00:00 2001 From: "Leo J." <153937047+leiicamundi@users.noreply.github.com> Date: Thu, 30 May 2024 15:11:57 +0200 Subject: [PATCH] debug module path --- .../actions/rosa-cleanup-clusters/scripts/destroy-clusters.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/rosa-cleanup-clusters/scripts/destroy-clusters.sh b/.github/actions/rosa-cleanup-clusters/scripts/destroy-clusters.sh index 7d8fdda..dc76d52 100755 --- a/.github/actions/rosa-cleanup-clusters/scripts/destroy-clusters.sh +++ b/.github/actions/rosa-cleanup-clusters/scripts/destroy-clusters.sh @@ -82,6 +82,8 @@ destroy_cluster() { clusters=$(aws s3 ls "s3://$BUCKET/" | awk '{print $2}' | sed -n 's#^tfstate-\(.*\)/$#\1#p') current_timestamp=$(date +%s) +tree "$MODULES_DIR" + for cluster_id in $clusters; do cd "$CURRENT_DIR" || return 1