logs
View CloudWatch Logs
Fetch and display recent logs from AWS CloudWatch.
Arguments
$ARGUMENTS- Optional: function name (contact, booking, proofing, orders)
Default: All Functions
Show recent logs from all Lambda functions:
for func in contact booking proofing orders; do
echo "=== pitfal-${func} ==="
aws logs tail /aws/lambda/pitfal-${func} \
--since 1h \
--profile pitfal \
--format short 2>/dev/null || echo "No logs found"
echo ""
done
More from forever-efficient/pitfal-solutions-website
optimize-images
Batch optimize images for web delivery. Converts to WebP, generates multiple sizes, and creates blur placeholders.
39gallery-manage
Organize, validate, and manage photo/video galleries. Create gallery structures, validate image files, and prepare content for upload.
35stripe-setup
Set up Stripe products, prices, and webhooks for Pitfal Solutions photography packages. Creates products for portrait sessions, event coverage, digital downloads, and prints. Use when configuring payment processing.
30deploy
Deploy the Pitfal Solutions website to AWS. Use when user says deploy, push to production, or update live site. Runs pre-checks, builds Next.js, deploys Terraform infrastructure, syncs to S3, and invalidates CloudFront cache.
29db-seed
Seed the DynamoDB database with sample data for development and testing. Populates galleries, inquiries, and admin tables. Use when setting up local dev environment or resetting test data. WARNING - never run in production.
29preview
Start local development server for previewing the site.
28