Skip to content
Start here

Registrar

RegistrarDomains

resource cloudflare_registrar_domain

required Expand Collapse
account_id: String

Identifier

domain_name: String

Domain name.

optional Expand Collapse
auto_renew?: Bool

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

locked?: Bool

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

privacy?: Bool

Privacy option controls redacting WHOIS information.

cloudflare_registrar_domain

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

data cloudflare_registrar_domain

required Expand Collapse
account_id: String

Identifier

domain_name: String

Domain name.

cloudflare_registrar_domain

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

data cloudflare_registrar_domains

required Expand Collapse
account_id: String

Identifier

optional Expand Collapse
max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

id: String

Domain identifier.

available: Bool

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

can_register: Bool

Indicates if the domain can be registered as a new domain.

created_at: Time

Shows time of creation.

current_registrar: String

Shows name of current registrar.

expires_at: Time

Shows when domain name registration expires.

locked: Bool

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

registrant_contact: Attributes

Shows contact information for domain registrant.

address: String

Address.

city: String

City.

country: String

The country in which the user lives.

first_name: String

User's first name

last_name: String

User's last name

organization: String

Name of organization.

phone: String

User's telephone number

state: String

State.

zip: String

The zipcode or postal code where the user lives.

id: String

Contact Identifier.

address2: String

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

email: String

The contact email address of the user.

fax: String

Contact fax number.

registry_statuses: String

A comma-separated list of registry status codes. A full list of status codes can be found at EPP Status Codes.

supported_tld: Bool

Whether a particular TLD is currently supported by Cloudflare Registrar. Refer to TLD Policies for a list of supported TLDs.

transfer_in: Attributes

Statuses for domain transfers into Cloudflare Registrar.

accept_foa: String

Form of authorization has been accepted by the registrant.

approve_transfer: String

Shows transfer status with the registry.

can_cancel_transfer: Bool

Indicates if cancellation is still possible.

disable_privacy: String

Privacy guards are disabled at the foreign registrar.

enter_auth_code: String

Auth code has been entered and verified.

unlock_domain: String

Domain is unlocked at the foreign registrar.

updated_at: Time

Last updated.

cloudflare_registrar_domains

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