---
title: Registrar
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/terraform)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Registrar

#### RegistrarDomains

#### resource cloudflare\_registrar\_domain

##### required Expand Collapse

account\_id: String

Identifier.

[Link to this property](<#(resource)%20registrar.domains%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20account_id>)

domain\_name: String

Provides a fully qualified domain name (FQDN), including the extension (e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies a registration. Cloudflare permits only one registration per domain, making the domain name a natural idempotency key for registration requests.

[Link to this property](<#(resource)%20registrar.domains%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20domain_name>)

##### optional Expand Collapse

auto\_renew?: Bool

Auto-renew controls whether subscription is automatically renewed upon domain expiration.

[Link to this property](<#(resource)%20registrar.domains%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20auto_renew>)

locked?: Bool

Shows whether a registrar lock is in place for a domain.

[Link to this property](<#(resource)%20registrar.domains%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20locked>)

privacy?: Bool

Privacy option controls redacting WHOIS information.

[Link to this property](<#(resource)%20registrar.domains%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20privacy>)

### cloudflare\_registrar\_domain

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_registrar_domain" "example_registrar_domain" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  domain_name = "example.com"
  auto_renew = true
  locked = false
  privacy = true
}
```

#### data cloudflare\_registrar\_domain

##### required Expand Collapse

account\_id: String

Identifier.

[Link to this property](<#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20account_id>)

domain\_name: String

Provides a fully qualified domain name (FQDN), including the extension (e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies a registration. Cloudflare permits only one registration per domain, making the domain name a natural idempotency key for registration requests.

[Link to this property](<#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20domain_name>)

### cloudflare\_registrar\_domain

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_registrar_domain" "example_registrar_domain" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  domain_name = "example.com"
}
```

#### data cloudflare\_registrar\_domains

##### required Expand Collapse

account\_id: String

Identifier.

[Link to this property](<#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20account_id>)

##### optional Expand Collapse

max\_items?: Int64

Max items to fetch, default: 1000

[Link to this property](<#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20max_items>)

##### computed Expand Collapse

<details>

<summary>

result: List\[Attributes]

The items returned by the data source

</summary>

id: String

Domain identifier.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20id">Link to this property</a>

available: Bool

Shows if a domain is available for transferring into Cloudflare Registrar.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20available">Link to this property</a>

can\_register: Bool

Indicates eligibility to register the domain as a new domain.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20can_register">Link to this property</a>

created\_at: Time

Shows time of creation.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20created_at">Link to this property</a>

current\_registrar: String

Shows name of current registrar.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20current_registrar">Link to this property</a>

expires\_at: Time

Shows when domain name registration expires.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20expires_at">Link to this property</a>

locked: Bool

Shows whether a registrar lock is in place for a domain.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20locked">Link to this property</a>

<details>

<summary>

registrant\_contact: Attributes

Shows contact information for domain registrant.

</summary>

address: String

Address.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact%20%3E%20(attribute)%20address">Link to this property</a>

city: String

City.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact%20%3E%20(attribute)%20city">Link to this property</a>

country: String

The country in which the user lives.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact%20%3E%20(attribute)%20country">Link to this property</a>

first\_name: String

User’s first name.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact%20%3E%20(attribute)%20first_name">Link to this property</a>

last\_name: String

User’s last name.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact%20%3E%20(attribute)%20last_name">Link to this property</a>

organization: String

Name of organization.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact%20%3E%20(attribute)%20organization">Link to this property</a>

phone: String

User’s telephone number.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact%20%3E%20(attribute)%20phone">Link to this property</a>

state: String

State.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact%20%3E%20(attribute)%20state">Link to this property</a>

zip: String

The zipcode or postal code where the user lives.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact%20%3E%20(attribute)%20zip">Link to this property</a>

id: String

Contact Identifier.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact%20%3E%20(attribute)%20id">Link to this property</a>

address2: String

Optional address line for unit, floor, suite, etc.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact%20%3E%20(attribute)%20address2">Link to this property</a>

email: String

The contact email address of the user.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact%20%3E%20(attribute)%20email">Link to this property</a>

fax: String

Contact fax number.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact%20%3E%20(attribute)%20fax">Link to this property</a>

</details>

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registrant_contact">Link to this property</a>

registry\_statuses: String

A comma-separated list of registry status codes. Refer to <a href="https://www.icann.org/resources/pages/epp-status-codes-2014-06-16-en">EPP Status Codes</a> for the full list.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20registry_statuses">Link to this property</a>

supported\_tld: Bool

Indicates whether Cloudflare Registrar currently supports a particular TLD. Refer to <a href="https://www.cloudflare.com/tld-policies/">TLD Policies</a> for a list of supported TLDs.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20supported_tld">Link to this property</a>

<details>

<summary>

transfer\_in: Attributes

Statuses for domain transfers into Cloudflare Registrar.

</summary>

accept\_foa: String

Status of the registrant authorization step.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20transfer_in%20%3E%20(attribute)%20accept_foa">Link to this property</a>

approve\_transfer: String

Status of the registry transfer-approval step.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20transfer_in%20%3E%20(attribute)%20approve_transfer">Link to this property</a>

can\_cancel\_transfer: Bool

Indicates if cancellation is still possible.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20transfer_in%20%3E%20(attribute)%20can_cancel_transfer">Link to this property</a>

disable\_privacy: String

Status of the privacy-guard disabling step at the foreign registrar.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20transfer_in%20%3E%20(attribute)%20disable_privacy">Link to this property</a>

enter\_auth\_code: String

Status of the auth-code entry and verification step.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20transfer_in%20%3E%20(attribute)%20enter_auth_code">Link to this property</a>

unlock\_domain: String

Status of the domain-unlock step at the foreign registrar.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20transfer_in%20%3E%20(attribute)%20unlock_domain">Link to this property</a>

</details>

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20transfer_in">Link to this property</a>

updated\_at: Time

Last updated.

<a href="#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20registrar.domains%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result>)

### cloudflare\_registrar\_domains

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_registrar_domains" "example_registrar_domains" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```