Route /images to an S3 Bucket using Terraform
Route requests with a URI path starting with /images
to a specific AWS S3 bucket with Cloud Connector using Terraform.
The following example defines a single Cloud Connector rule for a zone using Terraform. The rule routes requests to /images
on your domain to an AWS S3 bucket.
For additional guidance on using Terraform with Cloudflare, refer to the following resources:
- Terraform documentation
- Cloudflare Provider for Terraform ↗ (reference documentation)