Lead the refactoring of AWS CloudFront-based IaC (Terraform, CloudFormation) into Cloudflare IaC modules using Terraform or Wrangler. Migrate and optimize AWS CloudFront distributions to Cloudflare CDN with equivalent or improved caching, compression, and SSL/TLS configurations. Recreate and enhance AWS WAF rules in Cloudflare WAF, ensuring parity for rate limits, geo-blocking, and custom rule groups via Terraform. Translate and deploy AWS Lambda@Edge functions into Cloudflare Workers / Edge Functions, ensuring functional equivalence and latency improvements. Validate edge routing, caching, and security behaviour post-migration using synthetic and load testing tools.