Resource: auth0_custom_domain

With Auth0, you can use a custom domain to maintain a consistent user experience. This resource allows you to create and manage a custom domain within your Auth0 tenant.

Example Usage

resource "auth0_custom_domain" "my_custom_domain" {
  domain = "auth.example.com"
  type   = "auth0_managed_certs"
}

Schema

Required

Optional

Read-Only

Nested Schema for verification

Read-Only:

Import

Import is supported using the following syntax:

# Custom domains can be imported using their ID.
#
# You can find existing custom domain IDs using the Auth0 Management API.
# https://auth0.com/docs/api/management/v2#!/Custom_Domains/get_custom_domains
#
# Example:
terraform import auth0_custom_domain.my_custom_domain "cd_XXXXXXXXXXXXXXXX"