Skip to content

Commit

Permalink
DXCDT-644: more PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
acwest committed Jul 15, 2024
1 parent 9dc43bf commit 5b1bc88
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
2 changes: 0 additions & 2 deletions docs/data-sources/connection_scim_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ resource "auth0_connection" "my_enterprise_connection" {
}
resource "auth0_connection_scim_configuration" "my_conn_scim_configuration" {
depends_on = [auth0_connection.my_enterprise_connection]
connection_id = auth0_connection.my_enterprise_connection.id
}
# A data source for an Auth0 Connection SCIM Configuration.
data "auth0_connection_scim_configuration" "my_conn_scim_configuration_data" {
depends_on = [auth0_connection_scim_configuration.my_conn_scim_configuration]
connection_id = auth0_connection_scim_configuration.my_conn_scim_configuration.id
}
```
Expand Down
2 changes: 0 additions & 2 deletions docs/resources/connection_scim_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,12 @@ resource "auth0_connection" "my_enterprise_connection_2" {
# A resource for configuring an Auth0 Connection SCIM Configuration, using default values.
# Only one can be specified for a connection.
resource "auth0_connection_scim_configuration" "my_conn_scim_configuration_default" {
depends_on = [auth0_connection.my_enterprise_connection]
connection_id = auth0_connection.my_enterprise_connection.id
}
# A resource for configuring an Auth0 Connection SCIM Configuration, specifying `user_id_attribute` and `mapping`.
# Only one can be specified for a connection.
resource "auth0_connection_scim_configuration" "my_conn_scim_configuration" {
depends_on = [auth0_connection.my_enterprise_connection_2]
connection_id = auth0_connection.my_enterprise_connection_2.id
user_id_attribute = "attribute1"
mapping {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ resource "auth0_connection" "my_enterprise_connection" {
}

resource "auth0_connection_scim_configuration" "my_conn_scim_configuration" {
depends_on = [auth0_connection.my_enterprise_connection]
connection_id = auth0_connection.my_enterprise_connection.id
}

# A data source for an Auth0 Connection SCIM Configuration.
data "auth0_connection_scim_configuration" "my_conn_scim_configuration_data" {
depends_on = [auth0_connection_scim_configuration.my_conn_scim_configuration]
connection_id = auth0_connection_scim_configuration.my_conn_scim_configuration.id
}

Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,12 @@ resource "auth0_connection" "my_enterprise_connection_2" {
# A resource for configuring an Auth0 Connection SCIM Configuration, using default values.
# Only one can be specified for a connection.
resource "auth0_connection_scim_configuration" "my_conn_scim_configuration_default" {
depends_on = [auth0_connection.my_enterprise_connection]
connection_id = auth0_connection.my_enterprise_connection.id
}

# A resource for configuring an Auth0 Connection SCIM Configuration, specifying `user_id_attribute` and `mapping`.
# Only one can be specified for a connection.
resource "auth0_connection_scim_configuration" "my_conn_scim_configuration" {
depends_on = [auth0_connection.my_enterprise_connection_2]
connection_id = auth0_connection.my_enterprise_connection_2.id
user_id_attribute = "attribute1"
mapping {
Expand Down
4 changes: 2 additions & 2 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func New() *schema.Provider {
"auth0_connection": connection.NewResource(),
"auth0_connection_client": connection.NewClientResource(),
"auth0_connection_clients": connection.NewClientsResource(),
"auth0_connection_scim_configuration": connection.NewSCIMConfigurationResource(),
"auth0_custom_domain": customdomain.NewResource(),
"auth0_custom_domain_verification": customdomain.NewVerificationResource(),
"auth0_email_provider": email.NewResource(),
Expand All @@ -126,7 +127,6 @@ func New() *schema.Provider {
"auth0_role_permissions": role.NewPermissionsResource(),
"auth0_rule": rule.NewResource(),
"auth0_rule_config": rule.NewConfigResource(),
"auth0_connection_scim_configuration": connection.NewSCIMConfigurationResource(),
"auth0_tenant": tenant.NewResource(),
"auth0_user": user.NewResource(),
"auth0_user_permission": user.NewPermissionResource(),
Expand All @@ -140,12 +140,12 @@ func New() *schema.Provider {
"auth0_branding_theme": branding.NewThemeDataSource(),
"auth0_client": client.NewDataSource(),
"auth0_connection": connection.NewDataSource(),
"auth0_connection_scim_configuration": connection.NewSCIMConfigurationDataSource(),
"auth0_custom_domain": customdomain.NewDataSource(),
"auth0_organization": organization.NewDataSource(),
"auth0_pages": page.NewDataSource(),
"auth0_resource_server": resourceserver.NewDataSource(),
"auth0_role": role.NewDataSource(),
"auth0_connection_scim_configuration": connection.NewSCIMConfigurationDataSource(),
"auth0_signing_keys": signingkey.NewDataSource(),
"auth0_tenant": tenant.NewDataSource(),
"auth0_user": user.NewDataSource(),
Expand Down

0 comments on commit 5b1bc88

Please sign in to comment.