ci: fix migrate-tfstate resource guard #58

Merged
k.renner merged 1 commits from migrate-tfstate-pipeline into master 2026-06-26 21:21:42 +00:00
+2 -2
View File
@@ -46,8 +46,8 @@ steps:
BYTES=$(wc -c < /tmp/state.json)
echo "pulled state bytes $BYTES"
test "$BYTES" -gt 2000
RES=$(grep -c '"type"' /tmp/state.json || true)
echo "resource entries $RES"
RES=$(grep -o '"mode"' /tmp/state.json | wc -l)
echo "resource occurrences $RES"
test "$RES" -gt 10
echo "### 2/4 repoint the backend block to Hetzner (checkout only)"