> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sazabi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# sazabi_sso_domain_verification

> Terraform resource that waits until a claimed SSO domain is verified.

Waits until Sazabi has verified a claimed domain through its TXT record. Creating it asks Sazabi to check DNS every 15 seconds until a check finds the record and the domain is verified, and fails when `wait_timeout_seconds` runs out. A DNS error counts as "not yet": it changes nothing, and the next check runs as normal.

The resource stays in state only while the domain is verified. If re-checks stop finding the record (the domain lapses) or the claim goes back to pending, the next plan verifies again. Destroying it changes nothing on the server; removing the claim is `sazabi_sso_domain`'s job.

## Example

```hcl theme={"system"}
resource "sazabi_sso_domain_verification" "example" {
  domain     = sazabi_sso_domain.example.domain
  depends_on = [aws_route53_record.sazabi_verification]
}
```

## Arguments

| Attribute | Type | Behavior | Description |
| - | - | - | - |
| `domain` | string | Required | Claimed domain to verify, usually `sazabi_sso_domain.<name>.domain`. Immutable. |
| `organization_id` | string | Optional, Computed | Owning organization. Defaults to the provider's organization, then to the API key's. Immutable. |
| `wait_timeout_seconds` | number | Optional | How long create waits for the record, 1 to 3600 seconds. Defaults to 600. |
| `id` | string | Computed | ID of the verified domain claim. |
| `status` | string | Computed | Always `verified` while the resource is in state. |
| `verified_at` | string | Computed | When the domain was verified. |

## Import

```bash theme={"system"}
terraform import sazabi_sso_domain_verification.example example.com
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.