automated terminal push

This commit is contained in:
lenape
2025-08-04 01:36:28 +00:00
parent 8077e48b07
commit fe8b9fb0f0

View File

@@ -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"