fix: preserve terraform PATH in destroy plan retry
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 19s
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 19s
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user