# clerk_instance_restrictions (Resource)

Sign-up restrictions of the instance. This is a singleton: create adopts the instance, and destroy only removes the resource from state.

## Example Usage

```terraform
resource "clerk_instance_restrictions" "this" {
  blocklist                      = true
  block_email_subaddresses       = true
  block_disposable_email_domains = true
}
```

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

### Optional

- `allowlist` (Boolean) Restrict sign-ups to the allowlist (see `clerk_allowlist_identifier`).
- `block_disposable_email_domains` (Boolean) Block sign-ups from disposable email domains.
- `block_email_subaddresses` (Boolean) Block email addresses with `+`, `=` or `#` subaddresses.
- `blocklist` (Boolean) Block sign-ups from the blocklist (see `clerk_blocklist_identifier`).
- `ignore_dots_for_gmail_addresses` (Boolean) Treat dots in Gmail addresses as insignificant.

### Read-Only

- `id` (String) Instance id.

## 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
# Any id works; the first refresh replaces it with the real instance id.
terraform import clerk_instance_restrictions.this instance
```