cloudflare_pages_domain (Resource)

Provides a resource for managing Cloudflare Pages domains.

Example Usage

resource "cloudflare_pages_domain" "my-domain" {
  account_id   = "f037e56e89293a057740de681ac9abbe"
  project_name = "my-example-project"
  domain       = "example.com"
}

Schema

Required

Read-Only

Import

Import is supported using the following syntax:

$ terraform import cloudflare_pages_domain.example <account_id>/<project_name>/<domain-name>