Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DXCDT-451: Align resource import separators #718

Merged
merged 1 commit into from
Jul 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/resources/action.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ Required:
Import is supported using the following syntax:

```shell
# An action can be imported using the action's ID.
# This resource can be imported by specifying the action ID.
#
# Example:
terraform import auth0_action.my_action 12f4f21b-017a-319d-92e7-2291c1ca36c4
terraform import auth0_action.my_action "12f4f21b-017a-319d-92e7-2291c1ca36c4"
```

~> For security reasons importing `secrets` is not allowed. Therefore, it is advised to import
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/attack_protection.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,5 @@ Import is supported using the following syntax:
# We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
#
# Example:
terraform import auth0_attack_protection.my_protection 24940d4b-4bd4-44e7-894e-f92e4de36a40
terraform import auth0_attack_protection.my_protection "24940d4b-4bd4-44e7-894e-f92e4de36a40"
```
2 changes: 1 addition & 1 deletion docs/resources/branding.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ Import is supported using the following syntax:
# We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
#
# Example:
terraform import auth0_branding.my_brand 22f4f21b-017a-319d-92e7-2291c1ca36c4
terraform import auth0_branding.my_brand "22f4f21b-017a-319d-92e7-2291c1ca36c4"
```
4 changes: 2 additions & 2 deletions docs/resources/branding_theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ Optional:
Import is supported using the following syntax:

```shell
# Branding Themes can be imported using their ID.
# This resource can be imported by specifying the Branding Theme ID.
#
# Example:
terraform import auth0_branding_theme.my_theme XXXXXXXXXXXXXXXXXXXX
terraform import auth0_branding_theme.my_theme "XXXXXXXXXXXXXXXXXXXX"
```
4 changes: 2 additions & 2 deletions docs/resources/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ Optional:
Import is supported using the following syntax:

```shell
# A client can be imported using the client's ID.
# This resource can be imported by specifying the client ID.
#
# Example:
terraform import auth0_client.my_client AaiyAPdpYdesoKnqjj8HJqRn4T5titww
terraform import auth0_client.my_client "AaiyAPdpYdesoKnqjj8HJqRn4T5titww"
```
4 changes: 2 additions & 2 deletions docs/resources/client_credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ Read-Only:
Import is supported using the following syntax:

```shell
# A client credentials resource can be imported using the client's ID.
# This resource can be imported by specifying the client ID.
#
# Example:
terraform import auth0_client_credentials.my_creds AaiyAPdpYdesoKnqjj8HJqRn4T5titww
terraform import auth0_client_credentials.my_creds "AaiyAPdpYdesoKnqjj8HJqRn4T5titww"
```

~> Importing this resource when the `authentication_method` is set to `private_key_jwt` will force the resource to be recreated.
Expand Down
7 changes: 3 additions & 4 deletions docs/resources/client_grant.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,9 @@ resource "auth0_client_grant" "my_client_grant" {
Import is supported using the following syntax:

```shell
# Client grants can be imported using the grant ID.
#
# Application -> APIs -> Expand the required API
# This resource can be imported by specifying the client grant ID.
# You can find this within the Management Dashboard in Application -> APIs -> Expand the required API.
#
# Example:
terraform import auth0_client_grant.my_client_grant cgr_XXXXXXXXXXXXXXXX
terraform import auth0_client_grant.my_client_grant "cgr_XXXXXXXXXXXXXXXX"
```
4 changes: 2 additions & 2 deletions docs/resources/connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -807,8 +807,8 @@ Optional:
Import is supported using the following syntax:

```shell
# Connections can be imported using their ID.
# This resource can be imported by specifying the connection ID.
#
# Example:
terraform import auth0_connection.google con_a17f21fdb24d48a0
terraform import auth0_connection.google "con_a17f21fdb24d48a0"
```
5 changes: 3 additions & 2 deletions docs/resources/connection_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ Import is supported using the following syntax:

```shell
# This resource can be imported by specifying the
# connection ID and client ID separated by ":".
# connection ID and client ID separated by "::" (note the double colon)
# <connectionID>::<clientID>
#
# Example:
terraform import auth0_connection_client.my_conn_client_assoc con_XXXXX:XXXXXXXX
terraform import auth0_connection_client.my_conn_client_assoc "con_XXXXX::XXXXXXXX"
```
2 changes: 1 addition & 1 deletion docs/resources/connection_clients.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ Import is supported using the following syntax:
# This resource can be imported by specifying the Connection ID.
#
# Example:
terraform import auth0_connection_clients.my_conn_clients_assoc con_XXXXX:
terraform import auth0_connection_clients.my_conn_clients_assoc "con_XXXXX"
```
2 changes: 1 addition & 1 deletion docs/resources/custom_domain.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ Import is supported using the following syntax:
# https://auth0.com/docs/api/management/v2#!/Custom_Domains/get_custom_domains
#
# Example:
terraform import auth0_custom_domain.my_custom_domain cd_XXXXXXXXXXXXXXXX
terraform import auth0_custom_domain.my_custom_domain "cd_XXXXXXXXXXXXXXXX"
```
2 changes: 1 addition & 1 deletion docs/resources/custom_domain_verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ Import is supported using the following syntax:
# You can import this resource using the custom domain ID.
#
# Example:
terraform import auth0_custom_domain_verification.my_custom_domain_verification cd_XXXXXXXXXXXXXXXX
terraform import auth0_custom_domain_verification.my_custom_domain_verification "cd_XXXXXXXXXXXXXXXX"
```
2 changes: 1 addition & 1 deletion docs/resources/email.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,5 @@ Import is supported using the following syntax:
# We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
#
# Example:
terraform import auth0_email.my_email_provider b4213dc2-2eed-42c3-9516-c6131a9ce0b0
terraform import auth0_email.my_email_provider "b4213dc2-2eed-42c3-9516-c6131a9ce0b0"
```
2 changes: 1 addition & 1 deletion docs/resources/email_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ Import is supported using the following syntax:
# for legacy scenarios.
#
# Example:
terraform import auth0_email_template.my_email_template welcome_email
terraform import auth0_email_template.my_email_template "welcome_email"
```
2 changes: 1 addition & 1 deletion docs/resources/guardian.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,5 +225,5 @@ Import is supported using the following syntax:
# We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
#
# Example:
terraform import auth0_guardian.my_guardian 24940d4b-4bd4-44e7-894e-f92e4de36a40
terraform import auth0_guardian.my_guardian "24940d4b-4bd4-44e7-894e-f92e4de36a40"
```
4 changes: 2 additions & 2 deletions docs/resources/hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ resource "auth0_hook" "my_hook" {
Import is supported using the following syntax:

```shell
# A hook can be imported using the hook's ID.
# This resource can be imported by specifying the hook ID.
#
# Example:
terraform import auth0_hook.my_hook 00001
terraform import auth0_hook.my_hook "00001"
```
4 changes: 2 additions & 2 deletions docs/resources/log_stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ Optional:
Import is supported using the following syntax:

```shell
# An existing log stream can be imported using its ID.
# This resource can be imported by specifying the log stream ID.
#
# Example:
terraform import auth0_log_stream.example lst_XXXXXXXXXXXXXXXX
terraform import auth0_log_stream.example "lst_XXXXXXXXXXXXXXXX"
```
4 changes: 2 additions & 2 deletions docs/resources/organization.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ Optional:
Import is supported using the following syntax:

```shell
# Existing organizations can be imported using the organization ID.
# This resource can be imported by specifying the organization ID.
#
# Example:
terraform import auth0_organization.my_organization org_XXXXXXXXXXXXXX
terraform import auth0_organization.my_organization "org_XXXXXXXXXXXXXX"
```
5 changes: 3 additions & 2 deletions docs/resources/organization_connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ Import is supported using the following syntax:

```shell
# This resource can be imported by specifying the
# organization ID and connection ID separated by ":".
# organization ID and connection ID separated by "::" (note the double colon)
# <organizationID>::<connectionID>
#
# Example:
terraform import auth0_organization_connection.my_org_conn org_XXXXX:con_XXXXX
terraform import auth0_organization_connection.my_org_conn "org_XXXXX::con_XXXXX"
```
2 changes: 1 addition & 1 deletion docs/resources/organization_connections.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ Import is supported using the following syntax:
# This resource can be imported by specifying the organization ID.
#
# Example:
terraform import auth0_organization_connections.my_org_conns org_XXXXX
terraform import auth0_organization_connections.my_org_conns "org_XXXXX"
```
5 changes: 3 additions & 2 deletions docs/resources/organization_member.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ Import is supported using the following syntax:

```shell
# This resource can be imported by specifying the
# organization ID and user ID separated by ":".
# organization ID and user ID separated by "::" (note the double colon)
# <organizationID>::<userID>
#
# Example:
terraform import auth0_organization_member.my_org_member "org_XXXXX:auth0|XXXXX"
terraform import auth0_organization_member.my_org_member "org_XXXXX::auth0|XXXXX"
```
3 changes: 2 additions & 1 deletion docs/resources/organization_member_role.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ Import is supported using the following syntax:

```shell
# This resource can be imported by specifying the
# organization ID, user ID and role ID separated by "::".
# organization ID, user ID and role ID separated by "::" (note the double colon)
# <organizationID>::<userID>::<roleID>
#
# Example:
terraform import auth0_organization_member_role.my_org_member_role "org_XXXXX::auth0|XXXXX::role_XXXX"
Expand Down
5 changes: 3 additions & 2 deletions docs/resources/organization_member_roles.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ Import is supported using the following syntax:

```shell
# This resource can be imported by specifying the
# organization ID and user ID separated by ":".
# organization ID and user ID separated by "::" (note the double colon)
# <organizationID>::<userID>
#
# Example:
terraform import auth0_organization_member_roles.my_org_member_roles "org_XXXXX:auth0|XXXXX"
terraform import auth0_organization_member_roles.my_org_member_roles "org_XXXXX::auth0|XXXXX"
```
2 changes: 1 addition & 1 deletion docs/resources/pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,5 @@ Import is supported using the following syntax:
# We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
#
# Example:
terraform import auth0_pages.my_pages 22f4f21b-017a-319d-92e7-2291c1ca36c4
terraform import auth0_pages.my_pages "22f4f21b-017a-319d-92e7-2291c1ca36c4"
```
2 changes: 1 addition & 1 deletion docs/resources/prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ Import is supported using the following syntax:
# We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
#
# Example:
terraform import auth0_prompt.my_prompt 22f4f21b-017a-319d-92e7-2291c1ca36c4
terraform import auth0_prompt.my_prompt "22f4f21b-017a-319d-92e7-2291c1ca36c4"
```
6 changes: 4 additions & 2 deletions docs/resources/prompt_custom_text.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ resource "auth0_prompt_custom_text" "example" {
Import is supported using the following syntax:

```shell
# This resource can be imported by specifying the prompt and language separated by ":".
# This resource can be imported by specifying the
# prompt and language separated by "::" (note the double colon)
# <prompt>::<language>
#
# Example
terraform import auth0_prompt_custom_text.example login:en
terraform import auth0_prompt_custom_text.example "login::en"
```
2 changes: 1 addition & 1 deletion docs/resources/resource_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ Import is supported using the following syntax:
# Existing resource servers can be imported using their ID.
#
# Example:
terraform import auth0_resource_server.my_resource_server XXXXXXXXXXXXXXXXXXXXXXX
terraform import auth0_resource_server.my_resource_server "XXXXXXXXXXXXXXXXXXXXXXX"
```
2 changes: 1 addition & 1 deletion docs/resources/role.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ Import is supported using the following syntax:
# Existing roles can be imported using their ID.
#
# Example:
terraform import auth0_role.my_role XXXXXXXXXXXXXXXXXXXXXXX
terraform import auth0_role.my_role "XXXXXXXXXXXXXXXXXXXXXXX"
```
2 changes: 1 addition & 1 deletion docs/resources/rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ Import is supported using the following syntax:
# Existing rules can be imported using their ID.
#
# Example:
terraform import auth0_rule.my_rule rul_XXXXXXXXXXXXX
terraform import auth0_rule.my_rule "rul_XXXXXXXXXXXXX"
```
2 changes: 1 addition & 1 deletion docs/resources/rule_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ Import is supported using the following syntax:
# Existing rule configs can be imported using their key name.
#
# Example:
terraform import auth0_rule_config.my_rule_config foo
terraform import auth0_rule_config.my_rule_config "foo"
```
2 changes: 1 addition & 1 deletion docs/resources/tenant.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,5 @@ Import is supported using the following syntax:
# We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
#
# Example:
terraform import auth0_tenant.my_tenant 82f4f21b-017a-319d-92e7-2291c1ca36c4
terraform import auth0_tenant.my_tenant "82f4f21b-017a-319d-92e7-2291c1ca36c4"
```
5 changes: 3 additions & 2 deletions docs/resources/trigger_action.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ Import is supported using the following syntax:

```shell
# This resource can be imported by specifying the
# trigger and action ID separated by "::".
# trigger and action ID separated by "::" (note the double colon)
# <trigger>::<actionID>
#
# Example:
terraform import auth0_trigger_action.post_login_action post-login::28b5c8fa-d371-5734-acf6-d0cf80ead918
terraform import auth0_trigger_action.post_login_action "post-login::28b5c8fa-d371-5734-acf6-d0cf80ead918"
```
2 changes: 1 addition & 1 deletion docs/resources/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ Import is supported using the following syntax:
# This resource can be imported using the user ID.
#
# Example:
terraform import auth0_user.user auth0|111111111111111111111111
terraform import auth0_user.user "auth0|111111111111111111111111"
```
4 changes: 2 additions & 2 deletions examples/resources/auth0_action/import.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# An action can be imported using the action's ID.
# This resource can be imported by specifying the action ID.
#
# Example:
terraform import auth0_action.my_action 12f4f21b-017a-319d-92e7-2291c1ca36c4
terraform import auth0_action.my_action "12f4f21b-017a-319d-92e7-2291c1ca36c4"
2 changes: 1 addition & 1 deletion examples/resources/auth0_attack_protection/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
#
# Example:
terraform import auth0_attack_protection.my_protection 24940d4b-4bd4-44e7-894e-f92e4de36a40
terraform import auth0_attack_protection.my_protection "24940d4b-4bd4-44e7-894e-f92e4de36a40"
2 changes: 1 addition & 1 deletion examples/resources/auth0_branding/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
#
# Example:
terraform import auth0_branding.my_brand 22f4f21b-017a-319d-92e7-2291c1ca36c4
terraform import auth0_branding.my_brand "22f4f21b-017a-319d-92e7-2291c1ca36c4"
4 changes: 2 additions & 2 deletions examples/resources/auth0_branding_theme/import.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Branding Themes can be imported using their ID.
# This resource can be imported by specifying the Branding Theme ID.
#
# Example:
terraform import auth0_branding_theme.my_theme XXXXXXXXXXXXXXXXXXXX
terraform import auth0_branding_theme.my_theme "XXXXXXXXXXXXXXXXXXXX"
4 changes: 2 additions & 2 deletions examples/resources/auth0_client/import.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# A client can be imported using the client's ID.
# This resource can be imported by specifying the client ID.
#
# Example:
terraform import auth0_client.my_client AaiyAPdpYdesoKnqjj8HJqRn4T5titww
terraform import auth0_client.my_client "AaiyAPdpYdesoKnqjj8HJqRn4T5titww"
4 changes: 2 additions & 2 deletions examples/resources/auth0_client_credentials/import.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# A client credentials resource can be imported using the client's ID.
# This resource can be imported by specifying the client ID.
#
# Example:
terraform import auth0_client_credentials.my_creds AaiyAPdpYdesoKnqjj8HJqRn4T5titww
terraform import auth0_client_credentials.my_creds "AaiyAPdpYdesoKnqjj8HJqRn4T5titww"
7 changes: 3 additions & 4 deletions examples/resources/auth0_client_grant/import.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Client grants can be imported using the grant ID.
#
# Application -> APIs -> Expand the required API
# This resource can be imported by specifying the client grant ID.
# You can find this within the Management Dashboard in Application -> APIs -> Expand the required API.
#
# Example:
terraform import auth0_client_grant.my_client_grant cgr_XXXXXXXXXXXXXXXX
terraform import auth0_client_grant.my_client_grant "cgr_XXXXXXXXXXXXXXXX"
4 changes: 2 additions & 2 deletions examples/resources/auth0_connection/import.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Connections can be imported using their ID.
# This resource can be imported by specifying the connection ID.
#
# Example:
terraform import auth0_connection.google con_a17f21fdb24d48a0
terraform import auth0_connection.google "con_a17f21fdb24d48a0"
5 changes: 3 additions & 2 deletions examples/resources/auth0_connection_client/import.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# This resource can be imported by specifying the
# connection ID and client ID separated by ":".
# connection ID and client ID separated by "::" (note the double colon)
# <connectionID>::<clientID>
#
# Example:
terraform import auth0_connection_client.my_conn_client_assoc con_XXXXX:XXXXXXXX
terraform import auth0_connection_client.my_conn_client_assoc "con_XXXXX::XXXXXXXX"
2 changes: 1 addition & 1 deletion examples/resources/auth0_connection_clients/import.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This resource can be imported by specifying the Connection ID.
#
# Example:
terraform import auth0_connection_clients.my_conn_clients_assoc con_XXXXX:
terraform import auth0_connection_clients.my_conn_clients_assoc "con_XXXXX"
2 changes: 1 addition & 1 deletion examples/resources/auth0_custom_domain/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# https://auth0.com/docs/api/management/v2#!/Custom_Domains/get_custom_domains
#
# Example:
terraform import auth0_custom_domain.my_custom_domain cd_XXXXXXXXXXXXXXXX
terraform import auth0_custom_domain.my_custom_domain "cd_XXXXXXXXXXXXXXXX"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# You can import this resource using the custom domain ID.
#
# Example:
terraform import auth0_custom_domain_verification.my_custom_domain_verification cd_XXXXXXXXXXXXXXXX
terraform import auth0_custom_domain_verification.my_custom_domain_verification "cd_XXXXXXXXXXXXXXXX"
2 changes: 1 addition & 1 deletion examples/resources/auth0_email/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
#
# Example:
terraform import auth0_email.my_email_provider b4213dc2-2eed-42c3-9516-c6131a9ce0b0
terraform import auth0_email.my_email_provider "b4213dc2-2eed-42c3-9516-c6131a9ce0b0"
Loading