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
resource "clerk_instance_restrictions" "this" {
blocklist = true
block_email_subaddresses = true
block_disposable_email_domains = true
}
Schema
Optional
allowlist(Boolean) Restrict sign-ups to the allowlist (seeclerk_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 (seeclerk_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 can be used, for example:
# Any id works; the first refresh replaces it with the real instance id.
terraform import clerk_instance_restrictions.this instance