Cloudflare Enablement
Rules
Testing
Edit this page on GitHub
Set theme to dark (⇧+D)

Create a redirect rule using Terraform

The following example defines a single redirect rule for a zone using Terraform. The rule creates a static URL redirect for visitors requesting the contacts page using an old URL.

​​ Additional resources

For additional guidance on using Terraform with Cloudflare, refer to the following resources: