To get started with Terraform for Cloudflare configuration, refer to Terraform: Get started.
Required permissions
The API token used by Terraform must have at least the following permission:
Zone > Cloud Connector > Write
Example configuration
The following example Terraform configuration creates Cloud Connector rules for various supported providers to route traffic between them based on URI paths: