Terraform recipe: domain-level redirects using Cloudflare
TLDR; Use Cloudflare's Terraform provider and defines a zone, a stub DNS record, and a redirect ruleset resource.
Jan 4, 20243 min read477
Search for a command to run...
Articles tagged with #terraform
TLDR; Use Cloudflare's Terraform provider and defines a zone, a stub DNS record, and a redirect ruleset resource.
TLDR; Use the moved { ... } Terraform block whenever possible. Otherwise use the `terraform state mv` command as a last resort.