fix: preserve terraform PATH in destroy plan retry
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 19s

This commit is contained in:
2026-02-28 23:04:04 +00:00
parent 6a77c96ad9
commit 0a51dfc0e1

View File

@@ -93,7 +93,7 @@ jobs:
for attempt in 1 2; do for attempt in 1 2; do
echo "Terraform destroy plan attempt $attempt/2" echo "Terraform destroy plan attempt $attempt/2"
if timeout 20m bash -lc "$TF_PLAN_CMD"; then if timeout 20m sh -c "$TF_PLAN_CMD"; then
exit 0 exit 0
fi fi
if [ "$attempt" -eq 1 ]; then if [ "$attempt" -eq 1 ]; then