Skip to content

Commit

Permalink
Document how to obtain the custom domain id needed for importing an a…
Browse files Browse the repository at this point in the history
…uth0_custom_domain resource. (#463)
  • Loading branch information
ginman86 authored Mar 3, 2023
1 parent 49d388d commit 7c50f16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/resources/custom_domain.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ Import is supported using the following syntax:
```shell
# 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
```
3 changes: 3 additions & 0 deletions examples/resources/auth0_custom_domain/import.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# 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

0 comments on commit 7c50f16

Please sign in to comment.