diff --git a/docs/data-sources/connection_scim_configuration.md b/docs/data-sources/connection_scim_configuration.md index 7215571c..453d5fd7 100644 --- a/docs/data-sources/connection_scim_configuration.md +++ b/docs/data-sources/connection_scim_configuration.md @@ -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 } ``` diff --git a/docs/resources/connection_scim_configuration.md b/docs/resources/connection_scim_configuration.md index 98ab7eac..644eab3f 100644 --- a/docs/resources/connection_scim_configuration.md +++ b/docs/resources/connection_scim_configuration.md @@ -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 { diff --git a/examples/data-sources/auth0_connection_scim_configuration/data-source.tf b/examples/data-sources/auth0_connection_scim_configuration/data-source.tf index 2626e200..df7f0fe7 100644 --- a/examples/data-sources/auth0_connection_scim_configuration/data-source.tf +++ b/examples/data-sources/auth0_connection_scim_configuration/data-source.tf @@ -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 } diff --git a/examples/resources/auth0_connection_scim_configuration/resource.tf b/examples/resources/auth0_connection_scim_configuration/resource.tf index ef358261..4b995fed 100644 --- a/examples/resources/auth0_connection_scim_configuration/resource.tf +++ b/examples/resources/auth0_connection_scim_configuration/resource.tf @@ -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 { diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 95de5ffd..a6246435 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -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(), @@ -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(), @@ -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(),