Define a single origin rule using Terraform
Create an origin rule using Terraform to override the Host
header, the resolved hostname, and the destination port of API requests.
The following example defines a single origin rule for a zone using Terraform. The rule overrides the Host
header, the resolved hostname, and the destination port of API requests.
For additional guidance on using Terraform with Cloudflare, refer to the following resources:
- Terraform documentation
- Cloudflare Provider for Terraform ↗ (reference documentation)