From db59cf38e0c3463ff6ce0f2615d9821bbc58e35a Mon Sep 17 00:00:00 2001 From: miampf Date: Fri, 1 Mar 2024 13:10:28 +0100 Subject: [PATCH] show terraform logging in terraform destroy --- .github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh b/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh index 8d75c858e..ddeb20514 100755 --- a/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh +++ b/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh @@ -16,7 +16,7 @@ function delete_resources { cd "$1/constellation-terraform" || exit 1 terraform init > /dev/null || exit 1 # first, install plugins terraform state pull > terraform.tfstate || exit 1 # update the local state with the remote state to only have resources in the state that have to be cleaned up. - terraform destroy -auto-approve > /dev/null || exit 1 + terraform destroy -auto-approve || exit 1 cd ../../ || exit 1 } @@ -25,7 +25,7 @@ function delete_iam_config { cd "$1/constellation-iam-terraform" || exit 1 terraform init > /dev/null || exit 1 # first, install plugins terraform state pull > terraform.tfstate || exit 1 # update the local state with the remote state to only have resources in the state that have to be cleaned up. - terraform destroy -auto-approve > /dev/null || exit 1 + terraform destroy -auto-approve || exit 1 cd ../../ || exit 1 }