File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ jobs:
162162 uses : actions/upload-artifact@v4
163163 with :
164164 name : ${{ steps.backup.outputs.backup_name }}
165- path : backups/${{ steps.backup.outputs.backup_name }}
165+ path : backups/${{ steps.backup.outputs.backup_name }}.tar.gz
166166 retention-days : 30
167167
168168 analyze-impact :
@@ -483,6 +483,17 @@ jobs:
483483 name : ${{ github.event.inputs.environment }}-teardown
484484
485485 steps :
486+ - name : Debug Job Conditions
487+ run : |
488+ echo "🔍 Debugging teardown job conditions:"
489+ echo " validated: ${{ needs.validate-request.outputs.confirmed }}"
490+ echo " backend_configured: ${{ needs.discover-backend-state.outputs.backend_configured }}"
491+ echo " bucket_exists: ${{ needs.discover-backend-state.outputs.bucket_exists }}"
492+ echo " state_exists: ${{ needs.discover-backend-state.outputs.state_exists }}"
493+ echo " ready_for_teardown: ${{ needs.prepare-teardown.outputs.ready_for_teardown }}"
494+ echo " resource_count: ${{ needs.prepare-teardown.outputs.resource_count }}"
495+ echo " backup_result: ${{ needs.pre-teardown-backup.result }}"
496+ echo " backup_before_destroy: ${{ github.event.inputs.backup_before_destroy }}"
486497 - name : Checkout Code
487498 uses : actions/checkout@v4
488499
You can’t perform that action at this time.
0 commit comments