Skip to content

Commit 77e4e30

Browse files
authored
Fix terraform cleanup error (#33216)
1 parent eac08d8 commit 77e4e30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.ci/scripts/terraform-cleanup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ DIRECTORY=${1:-.}
77
FAILED=0
88
for tfstate in $(find $DIRECTORY -name terraform.tfstate); do
99
cd $(dirname $tfstate)
10+
terraform init
1011
if ! terraform destroy -auto-approve; then
1112
FAILED=1
1213
fi

0 commit comments

Comments
 (0)