From 7b95a54b92b40ecfabe7b5f1607847f63c854738 Mon Sep 17 00:00:00 2001 From: miampf Date: Wed, 31 Jan 2024 16:27:53 +0100 Subject: [PATCH] install plugins before deleting resources --- .github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh b/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh index 1960839c5..74d4163aa 100755 --- a/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh +++ b/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh @@ -14,6 +14,7 @@ function download_tfstate_artifact { # delete_resources runs terraform destroy on the constellation-terraform subfolder of a given folder. function delete_resources { cd $1/constellation-terraform + terraform init # first, install plugins terraform destroy -auto-approve cd ../../ } @@ -21,6 +22,7 @@ function delete_resources { # delete_iam_config runs terraform destroy on the constellation-iam-terraform subfolder of a given folder. function delete_iam_config { cd $1/constellation-iam-terraform + terraform init # first, install plugins terraform destroy -auto-approve cd ../../ }