diff --git a/infrastructure/foundation/Jenkinsfile b/infrastructure/foundation/Jenkinsfile index 98e59df..e8fe409 100644 --- a/infrastructure/foundation/Jenkinsfile +++ b/infrastructure/foundation/Jenkinsfile @@ -711,8 +711,8 @@ Type 'DESTROY' exactly to confirm: fi # Validate backend resources - BUCKET_NAME=$(terraform output -raw terraform_state_bucket_name 2>/dev/null) - TABLE_NAME=$(terraform output -raw terraform_locks_table_name 2>/dev/null) + BUCKET_NAME=$(terraform output -raw terraform_state_bucket_name 2>/dev/null || true) + TABLE_NAME=$(terraform output -raw terraform_locks_table_name 2>/dev/null || true) if [ -n "$BUCKET_NAME" ] && [ "$BUCKET_NAME" != "null" ]; then echo "✅ S3 backend bucket: $BUCKET_NAME"