From 8a3e830596f877c74975d9a21d396004ad2d0191 Mon Sep 17 00:00:00 2001 From: miampf Date: Fri, 1 Mar 2024 14:37:28 +0100 Subject: [PATCH] removed state pull --- .github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh b/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh index ddeb20514..03a16f24f 100755 --- a/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh +++ b/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh @@ -15,7 +15,6 @@ function download_tfstate_artifact { 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 || exit 1 cd ../../ || exit 1 } @@ -24,7 +23,6 @@ function delete_resources { 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 || exit 1 cd ../../ || exit 1 }