# clerk_domain (Resource)

A satellite domain of the instance. The Backend API creates satellite domains only; use the Clerk dashboard for a primary-domain change. Use the `clerk_domains` data source for the DNS records.

## Example Usage

```terraform
resource "clerk_domain" "satellite" {
  name      = "satellite.example.com"
  proxy_url = "https://satellite.example.com/__clerk"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) Domain name, for example `satellite.example.com`.

### Optional

- `proxy_url` (String) Proxy URL for the Frontend API on this domain, for example `https://satellite.example.com/__clerk`.

### Read-Only

- `development_origin` (String) Origin of the development instance.
- `frontend_api_url` (String) Frontend API URL for this domain.
- `id` (String) Domain id.
- `is_satellite` (Boolean) Always `true`: the API creates satellite domains only.

## Import

Import is supported using the following syntax:

The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:

```shell
terraform import clerk_domain.satellite dmn_2abcDEFghiJKLmnoPQRstuVWXyz
```