From 1211823401128a0dfb69f97a6af6b6a353ce7542 Mon Sep 17 00:00:00 2001 From: Sebastian Schuster Date: Wed, 20 Nov 2024 09:07:03 +0100 Subject: [PATCH] Replaced references to mrparkers with keycloak (#1017) Updated goreleaser config Replace outdated goreleaser --rm-dist config Added release permissions Adapted example to work with bitnami/openldap Signed-off-by: Sebastian Schuster --- .github/workflows/release.yml | 8 ++++---- README.md | 10 +++++----- .../keycloak/CustomEventListenerProvider.kt | 2 +- .../keycloak/CustomEventListenerProviderFactory.kt | 2 +- .../keycloak/CustomIdentityProvider.kt | 2 +- .../keycloak/CustomIdentityProviderConfig.kt | 2 +- .../keycloak/CustomIdentityProviderFactory.kt | 2 +- .../keycloak/CustomUserStorageProvider.kt | 2 +- .../keycloak/CustomUserStorageProviderFactory.kt | 2 +- ....keycloak.broker.provider.IdentityProviderFactory | 2 +- .../org.keycloak.events.EventListenerProviderFactory | 2 +- .../org.keycloak.storage.UserStorageProviderFactory | 2 +- docker-compose.yml | 6 ++---- docs/data-sources/client_description_converter.md | 4 ++-- docs/data-sources/realm.md | 2 +- docs/resources/custom_user_federation.md | 2 +- docs/resources/group_memberships.md | 2 +- docs/resources/group_permissions.md | 2 +- docs/resources/user.md | 4 ++-- docs/resources/users_permissions.md | 2 +- example/client_authorization_policys.tf | 4 ++++ example/main.tf | 8 ++++---- go.mod | 2 +- keycloak/extra_config.go | 2 +- keycloak/identity_provider.go | 2 +- keycloak/openid_client.go | 2 +- keycloak/openid_client_scope.go | 2 +- keycloak/realm.go | 2 +- keycloak/saml_client.go | 2 +- keycloak/saml_client_scope.go | 2 +- main.go | 2 +- makefile | 12 ++++++------ .../data_source_keycloak_authentication_execution.go | 2 +- provider/data_source_keycloak_authentication_flow.go | 2 +- ...a_source_keycloak_client_description_converter.go | 2 +- provider/data_source_keycloak_group.go | 2 +- provider/data_source_keycloak_openid_client.go | 2 +- ...ce_keycloak_openid_client_authorization_policy.go | 2 +- provider/data_source_keycloak_openid_client_scope.go | 2 +- ...ce_keycloak_openid_client_service_account_user.go | 2 +- provider/data_source_keycloak_realm.go | 2 +- provider/data_source_keycloak_realm_keys.go | 2 +- provider/data_source_keycloak_role.go | 2 +- provider/data_source_keycloak_saml_client.go | 2 +- ...rce_keycloak_saml_client_installation_provider.go | 2 +- provider/data_source_keycloak_user.go | 2 +- provider/data_source_keycloak_user_realm_roles.go | 2 +- provider/generic_keycloak_identity_provider.go | 2 +- .../generic_keycloak_identity_provider_mapper.go | 2 +- provider/permissions.go | 2 +- provider/provider.go | 2 +- provider/provider_test.go | 2 +- ...ak_attribute_importer_identity_provider_mapper.go | 2 +- ...tribute_importer_identity_provider_mapper_test.go | 2 +- ...oak_attribute_to_role_identity_provider_mapper.go | 2 +- ...ttribute_to_role_identity_provider_mapper_test.go | 2 +- .../resource_keycloak_authentication_bindings.go | 2 +- .../resource_keycloak_authentication_execution.go | 2 +- ...ource_keycloak_authentication_execution_config.go | 2 +- ..._keycloak_authentication_execution_config_test.go | 2 +- ...esource_keycloak_authentication_execution_test.go | 2 +- provider/resource_keycloak_authentication_flow.go | 2 +- .../resource_keycloak_authentication_flow_test.go | 2 +- provider/resource_keycloak_authentication_subflow.go | 2 +- .../resource_keycloak_authentication_subflow_test.go | 2 +- ...ource_keycloak_custom_identity_provider_mapper.go | 2 +- ..._keycloak_custom_identity_provider_mapper_test.go | 2 +- provider/resource_keycloak_custom_user_federation.go | 2 +- .../resource_keycloak_custom_user_federation_test.go | 2 +- provider/resource_keycloak_default_groups.go | 2 +- provider/resource_keycloak_default_groups_test.go | 2 +- provider/resource_keycloak_default_roles.go | 2 +- provider/resource_keycloak_default_roles_test.go | 2 +- ...source_keycloak_generic_client_protocol_mapper.go | 2 +- ...e_keycloak_generic_client_protocol_mapper_test.go | 2 +- ...ource_keycloak_generic_client_role_mapper_test.go | 2 +- .../resource_keycloak_generic_protocol_mapper.go | 2 +- ...resource_keycloak_generic_protocol_mapper_test.go | 2 +- provider/resource_keycloak_generic_role_mapper.go | 2 +- .../resource_keycloak_generic_role_mapper_test.go | 2 +- provider/resource_keycloak_group.go | 2 +- provider/resource_keycloak_group_memberships.go | 2 +- provider/resource_keycloak_group_memberships_test.go | 2 +- provider/resource_keycloak_group_permissions.go | 2 +- provider/resource_keycloak_group_permissions_test.go | 2 +- provider/resource_keycloak_group_roles.go | 2 +- provider/resource_keycloak_group_roles_test.go | 2 +- provider/resource_keycloak_group_test.go | 2 +- ...k_hardcoded_attribute_identity_provider_mapper.go | 2 +- ...dcoded_attribute_identity_provider_mapper_test.go | 2 +- ...ycloak_hardcoded_role_identity_provider_mapper.go | 2 +- ...k_hardcoded_role_identity_provider_mapper_test.go | 2 +- ...ntity_provider_token_exchange_scope_permission.go | 2 +- ..._provider_token_exchange_scope_permission_test.go | 2 +- provider/resource_keycloak_ldap_custom_mapper.go | 2 +- .../resource_keycloak_ldap_custom_mapper_test.go | 2 +- provider/resource_keycloak_ldap_full_name_mapper.go | 2 +- .../resource_keycloak_ldap_full_name_mapper_test.go | 2 +- provider/resource_keycloak_ldap_group_mapper.go | 2 +- provider/resource_keycloak_ldap_group_mapper_test.go | 2 +- ...ource_keycloak_ldap_hardcoded_attribute_mapper.go | 2 +- ..._keycloak_ldap_hardcoded_attribute_mapper_test.go | 2 +- .../resource_keycloak_ldap_hardcoded_group_mapper.go | 2 +- ...urce_keycloak_ldap_hardcoded_group_mapper_test.go | 2 +- .../resource_keycloak_ldap_hardcoded_role_mapper.go | 2 +- ...ource_keycloak_ldap_hardcoded_role_mapper_test.go | 2 +- ...loak_ldap_msad_lds_user_account_control_mapper.go | 2 +- ...ldap_msad_lds_user_account_control_mapper_test.go | 2 +- ...keycloak_ldap_msad_user_account_control_mapper.go | 2 +- ...oak_ldap_msad_user_account_control_mapper_test.go | 2 +- provider/resource_keycloak_ldap_role_mapper.go | 2 +- provider/resource_keycloak_ldap_role_mapper_test.go | 2 +- .../resource_keycloak_ldap_user_attribute_mapper.go | 2 +- ...ource_keycloak_ldap_user_attribute_mapper_test.go | 2 +- provider/resource_keycloak_ldap_user_federation.go | 2 +- .../resource_keycloak_ldap_user_federation_test.go | 2 +- ...esource_keycloak_oidc_google_identity_provider.go | 4 ++-- ...ce_keycloak_oidc_google_identity_provider_test.go | 2 +- provider/resource_keycloak_oidc_identity_provider.go | 4 ++-- .../resource_keycloak_oidc_identity_provider_test.go | 2 +- ...ource_keycloak_openid_audience_protocol_mapper.go | 2 +- ..._keycloak_openid_audience_protocol_mapper_test.go | 2 +- ...ycloak_openid_audience_resolve_protocol_mapper.go | 2 +- ...k_openid_audience_resolve_protocol_mapper_test.go | 2 +- provider/resource_keycloak_openid_client.go | 4 ++-- ...k_openid_client_authorization_aggregate_policy.go | 2 +- ...nid_client_authorization_aggregate_policy_test.go | 2 +- ...loak_openid_client_authorization_client_policy.go | 2 +- ...openid_client_authorization_client_policy_test.go | 2 +- ...cloak_openid_client_authorization_group_policy.go | 2 +- ..._openid_client_authorization_group_policy_test.go | 2 +- ...keycloak_openid_client_authorization_js_policy.go | 2 +- ...oak_openid_client_authorization_js_policy_test.go | 2 +- ...eycloak_openid_client_authorization_permission.go | 2 +- ...ak_openid_client_authorization_permission_test.go | 2 +- ..._keycloak_openid_client_authorization_resource.go | 2 +- ...loak_openid_client_authorization_resource_test.go | 2 +- ...ycloak_openid_client_authorization_role_policy.go | 2 +- ...k_openid_client_authorization_role_policy_test.go | 2 +- ...rce_keycloak_openid_client_authorization_scope.go | 2 +- ...eycloak_openid_client_authorization_scope_test.go | 2 +- ...ycloak_openid_client_authorization_time_policy.go | 2 +- ...k_openid_client_authorization_time_policy_test.go | 2 +- ...ycloak_openid_client_authorization_user_policy.go | 2 +- ...k_openid_client_authorization_user_policy_test.go | 2 +- ...resource_keycloak_openid_client_default_scopes.go | 2 +- ...rce_keycloak_openid_client_default_scopes_test.go | 2 +- ...esource_keycloak_openid_client_optional_scopes.go | 2 +- ...ce_keycloak_openid_client_optional_scopes_test.go | 2 +- .../resource_keycloak_openid_client_permissions.go | 2 +- ...source_keycloak_openid_client_permissions_test.go | 2 +- provider/resource_keycloak_openid_client_scope.go | 4 ++-- .../resource_keycloak_openid_client_scope_test.go | 4 ++-- ...cloak_openid_client_service_account_realm_role.go | 2 +- ..._openid_client_service_account_realm_role_test.go | 2 +- ...ce_keycloak_openid_client_service_account_role.go | 2 +- ...ycloak_openid_client_service_account_role_test.go | 2 +- provider/resource_keycloak_openid_client_test.go | 4 ++-- ...urce_keycloak_openid_full_name_protocol_mapper.go | 2 +- ...keycloak_openid_full_name_protocol_mapper_test.go | 2 +- ...ycloak_openid_group_membership_protocol_mapper.go | 2 +- ...k_openid_group_membership_protocol_mapper_test.go | 2 +- ...eycloak_openid_hardcoded_claim_protocol_mapper.go | 2 +- ...ak_openid_hardcoded_claim_protocol_mapper_test.go | 2 +- ...keycloak_openid_hardcoded_role_protocol_mapper.go | 2 +- ...oak_openid_hardcoded_role_protocol_mapper_test.go | 2 +- ...esource_keycloak_openid_script_protocol_mapper.go | 2 +- ...ce_keycloak_openid_script_protocol_mapper_test.go | 2 +- ...keycloak_openid_user_attribute_protocol_mapper.go | 2 +- ...oak_openid_user_attribute_protocol_mapper_test.go | 2 +- ...ycloak_openid_user_client_role_protocol_mapper.go | 2 +- ...k_openid_user_client_role_protocol_mapper_test.go | 2 +- ..._keycloak_openid_user_property_protocol_mapper.go | 2 +- ...loak_openid_user_property_protocol_mapper_test.go | 2 +- ...eycloak_openid_user_realm_role_protocol_mapper.go | 2 +- ...ak_openid_user_realm_role_protocol_mapper_test.go | 2 +- ...cloak_openid_user_session_note_protocol_mapper.go | 2 +- ..._openid_user_session_note_protocol_mapper_test.go | 2 +- provider/resource_keycloak_realm.go | 4 ++-- provider/resource_keycloak_realm_events.go | 2 +- provider/resource_keycloak_realm_events_test.go | 2 +- ...resource_keycloak_realm_keystore_aes_generated.go | 2 +- ...rce_keycloak_realm_keystore_aes_generated_test.go | 2 +- ...source_keycloak_realm_keystore_ecdsa_generated.go | 2 +- ...e_keycloak_realm_keystore_ecdsa_generated_test.go | 2 +- ...esource_keycloak_realm_keystore_hmac_generated.go | 2 +- ...ce_keycloak_realm_keystore_hmac_generated_test.go | 2 +- ...resource_keycloak_realm_keystore_java_keystore.go | 2 +- ...rce_keycloak_realm_keystore_java_kyestore_test.go | 2 +- provider/resource_keycloak_realm_keystore_rsa.go | 2 +- ...resource_keycloak_realm_keystore_rsa_generated.go | 2 +- ...rce_keycloak_realm_keystore_rsa_generated_test.go | 2 +- .../resource_keycloak_realm_keystore_rsa_test.go | 2 +- provider/resource_keycloak_realm_test.go | 2 +- provider/resource_keycloak_realm_user_profile.go | 2 +- .../resource_keycloak_realm_user_profile_test.go | 2 +- provider/resource_keycloak_required_action.go | 2 +- provider/resource_keycloak_role.go | 2 +- provider/resource_keycloak_role_test.go | 2 +- provider/resource_keycloak_saml_client.go | 4 ++-- .../resource_keycloak_saml_client_default_scopes.go | 2 +- ...ource_keycloak_saml_client_default_scopes_test.go | 2 +- provider/resource_keycloak_saml_client_scope.go | 2 +- provider/resource_keycloak_saml_client_scope_test.go | 2 +- provider/resource_keycloak_saml_client_test.go | 4 ++-- provider/resource_keycloak_saml_identity_provider.go | 4 ++-- .../resource_keycloak_saml_identity_provider_test.go | 4 ++-- .../resource_keycloak_saml_script_protocol_mapper.go | 2 +- ...urce_keycloak_saml_script_protocol_mapper_test.go | 2 +- ...e_keycloak_saml_user_attribute_protocol_mapper.go | 2 +- ...cloak_saml_user_attribute_protocol_mapper_test.go | 2 +- ...ce_keycloak_saml_user_property_protocol_mapper.go | 2 +- ...ycloak_saml_user_property_protocol_mapper_test.go | 2 +- provider/resource_keycloak_user.go | 2 +- provider/resource_keycloak_user_groups.go | 2 +- provider/resource_keycloak_user_groups_test.go | 2 +- provider/resource_keycloak_user_roles.go | 2 +- provider/resource_keycloak_user_roles_test.go | 2 +- ...ser_template_importer_identity_provider_mapper.go | 2 +- ...emplate_importer_identity_provider_mapper_test.go | 2 +- provider/resource_keycloak_user_test.go | 2 +- provider/resource_keycloak_users_permissions.go | 2 +- provider/resource_keycloak_users_permissions_test.go | 2 +- provider/role_mapping_helpers.go | 2 +- provider/test_utils.go | 2 +- provider/utils.go | 2 +- 226 files changed, 258 insertions(+), 256 deletions(-) rename custom-user-federation-example/src/main/kotlin/com/github/{mrparkers => }/keycloak/CustomEventListenerProvider.kt (91%) rename custom-user-federation-example/src/main/kotlin/com/github/{mrparkers => }/keycloak/CustomEventListenerProviderFactory.kt (94%) rename custom-user-federation-example/src/main/kotlin/com/github/{mrparkers => }/keycloak/CustomIdentityProvider.kt (90%) rename custom-user-federation-example/src/main/kotlin/com/github/{mrparkers => }/keycloak/CustomIdentityProviderConfig.kt (89%) rename custom-user-federation-example/src/main/kotlin/com/github/{mrparkers => }/keycloak/CustomIdentityProviderFactory.kt (97%) rename custom-user-federation-example/src/main/kotlin/com/github/{mrparkers => }/keycloak/CustomUserStorageProvider.kt (98%) rename custom-user-federation-example/src/main/kotlin/com/github/{mrparkers => }/keycloak/CustomUserStorageProviderFactory.kt (97%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 60ade7da2..b27ac1082 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,7 @@ jobs: status: steps.wait.outputs.status release: + permissions: write-all needs: - wait runs-on: ubuntu-latest @@ -52,15 +53,14 @@ jobs: releaseDate=$(date '+%B-%-d-%Y' | tr '[:upper:]' '[:lower:]') releaseVersion=$(echo ${{ steps.get_tag_name.outputs.TAG }} | tr -d '.') tmp=$(mktemp -d) - echo "[Release Notes](https://github.com/mrparkers/terraform-provider-keycloak/blob/master/CHANGELOG.md#${releaseVersion}-${releaseDate})" > ${tmp}/release-notes.md + echo "[Release Notes](https://github.com/keycloak/terraform-provider-keycloak/blob/master/CHANGELOG.md#${releaseVersion}-${releaseDate})" > ${tmp}/release-notes.md cat ${tmp}/release-notes.md echo ::set-output name=NOTES::${tmp}/release-notes.md - name: GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v6 with: - version: v0.179.0 - args: release --rm-dist --release-notes=${{ steps.build-release-notes.outputs.NOTES }} + args: release --clean --release-notes=${{ steps.build-release-notes.outputs.NOTES }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} diff --git a/README.md b/README.md index 37614e6df..a37f5fd6f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Terraform provider for [Keycloak](https://www.keycloak.org/). ## Docs -All documentation for this provider can now be found on the Terraform Registry: https://registry.terraform.io/providers/mrparkers/keycloak/latest/docs +All documentation for this provider can now be found on the Terraform Registry: https://registry.terraform.io/providers/keycloak/keycloak/latest/docs ## Installation @@ -16,7 +16,7 @@ This provider can be installed automatically using Terraform >=0.13 by using the terraform { required_providers { keycloak = { - source = "mrparkers/keycloak" + source = "keycloak/keycloak" version = ">= 4.0.0" } } @@ -50,14 +50,14 @@ The following versions are used when running acceptance tests in CI: ## Releases This provider uses [GoReleaser](https://goreleaser.com/) to build and publish releases. Each release published to GitHub -contains binary files for Linux, macOS (darwin), and Windows, as configured within the [`.goreleaser.yml`](https://github.com/mrparkers/terraform-provider-keycloak/blob/master/.goreleaser.yml) +contains binary files for Linux, macOS (darwin), and Windows, as configured within the [`.goreleaser.yml`](https://github.com/keycloak/terraform-provider-keycloak/blob/master/.goreleaser.yml) file. Each release also contains a `terraform-provider-keycloak_${RELEASE_VERSION}_SHA256SUMS` file, accompanied by a signature created by a PGP key with the fingerprint `C508 6791 5E11 6CD2`. This key can be found on my Keybase account at https://keybase.io/mrparkers. -You can find the list of releases [here](https://github.com/mrparkers/terraform-provider-keycloak/releases). -You can find the changelog for each version [here](https://github.com/mrparkers/terraform-provider-keycloak/blob/master/CHANGELOG.md). +You can find the list of releases [here](https://github.com/keycloak/terraform-provider-keycloak/releases). +You can find the changelog for each version [here](https://github.com/keycloak/terraform-provider-keycloak/blob/master/CHANGELOG.md). Note: Prior to v2.0.0, a statically linked build for use within Alpine linux was included with each release. This is no longer done due to [GoReleaser not supporting CGO](https://goreleaser.com/limitations/cgo/). Instead of using a statically linked, diff --git a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomEventListenerProvider.kt b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomEventListenerProvider.kt similarity index 91% rename from custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomEventListenerProvider.kt rename to custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomEventListenerProvider.kt index 75a712e65..1078cec2d 100644 --- a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomEventListenerProvider.kt +++ b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomEventListenerProvider.kt @@ -1,4 +1,4 @@ -package com.github.mrparkers.keycloak +package com.github.keycloak import org.keycloak.events.Event import org.keycloak.events.EventListenerProvider diff --git a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomEventListenerProviderFactory.kt b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomEventListenerProviderFactory.kt similarity index 94% rename from custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomEventListenerProviderFactory.kt rename to custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomEventListenerProviderFactory.kt index 3c70018fd..564bd5034 100644 --- a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomEventListenerProviderFactory.kt +++ b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomEventListenerProviderFactory.kt @@ -1,4 +1,4 @@ -package com.github.mrparkers.keycloak +package com.github.keycloak import org.keycloak.Config import org.keycloak.events.EventListenerProvider diff --git a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomIdentityProvider.kt b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomIdentityProvider.kt similarity index 90% rename from custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomIdentityProvider.kt rename to custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomIdentityProvider.kt index d26e7b8b3..4d946312e 100644 --- a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomIdentityProvider.kt +++ b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomIdentityProvider.kt @@ -1,4 +1,4 @@ -package com.github.mrparkers.keycloak +package com.github.keycloak import org.keycloak.broker.oidc.OIDCIdentityProvider import org.keycloak.models.KeycloakSession diff --git a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomIdentityProviderConfig.kt b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomIdentityProviderConfig.kt similarity index 89% rename from custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomIdentityProviderConfig.kt rename to custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomIdentityProviderConfig.kt index bf4606db2..33b1e3523 100644 --- a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomIdentityProviderConfig.kt +++ b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomIdentityProviderConfig.kt @@ -1,4 +1,4 @@ -package com.github.mrparkers.keycloak +package com.github.keycloak import org.keycloak.broker.oidc.OIDCIdentityProviderConfig import org.keycloak.models.IdentityProviderModel diff --git a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomIdentityProviderFactory.kt b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomIdentityProviderFactory.kt similarity index 97% rename from custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomIdentityProviderFactory.kt rename to custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomIdentityProviderFactory.kt index 7b3480d30..1055892d7 100644 --- a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomIdentityProviderFactory.kt +++ b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomIdentityProviderFactory.kt @@ -1,4 +1,4 @@ -package com.github.mrparkers.keycloak +package com.github.keycloak import org.keycloak.broker.oidc.OIDCIdentityProviderConfig import org.keycloak.broker.provider.AbstractIdentityProviderFactory diff --git a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomUserStorageProvider.kt b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomUserStorageProvider.kt similarity index 98% rename from custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomUserStorageProvider.kt rename to custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomUserStorageProvider.kt index ea71c7e67..2ba9f3cdc 100644 --- a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomUserStorageProvider.kt +++ b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomUserStorageProvider.kt @@ -1,4 +1,4 @@ -package com.github.mrparkers.keycloak +package com.github.keycloak import org.keycloak.component.ComponentModel import org.keycloak.credential.CredentialInput diff --git a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomUserStorageProviderFactory.kt b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomUserStorageProviderFactory.kt similarity index 97% rename from custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomUserStorageProviderFactory.kt rename to custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomUserStorageProviderFactory.kt index 9e8d66f2e..1c17ae9f6 100644 --- a/custom-user-federation-example/src/main/kotlin/com/github/mrparkers/keycloak/CustomUserStorageProviderFactory.kt +++ b/custom-user-federation-example/src/main/kotlin/com/github/keycloak/CustomUserStorageProviderFactory.kt @@ -1,4 +1,4 @@ -package com.github.mrparkers.keycloak +package com.github.keycloak import org.keycloak.component.ComponentModel import org.keycloak.models.KeycloakSession diff --git a/custom-user-federation-example/src/main/resources/META-INF/services/org.keycloak.broker.provider.IdentityProviderFactory b/custom-user-federation-example/src/main/resources/META-INF/services/org.keycloak.broker.provider.IdentityProviderFactory index fa9948eda..8c604e6a3 100644 --- a/custom-user-federation-example/src/main/resources/META-INF/services/org.keycloak.broker.provider.IdentityProviderFactory +++ b/custom-user-federation-example/src/main/resources/META-INF/services/org.keycloak.broker.provider.IdentityProviderFactory @@ -1 +1 @@ -com.github.mrparkers.keycloak.CustomIdentityProviderFactory +com.github.keycloak.CustomIdentityProviderFactory diff --git a/custom-user-federation-example/src/main/resources/META-INF/services/org.keycloak.events.EventListenerProviderFactory b/custom-user-federation-example/src/main/resources/META-INF/services/org.keycloak.events.EventListenerProviderFactory index 47ca129f5..572fe4fba 100644 --- a/custom-user-federation-example/src/main/resources/META-INF/services/org.keycloak.events.EventListenerProviderFactory +++ b/custom-user-federation-example/src/main/resources/META-INF/services/org.keycloak.events.EventListenerProviderFactory @@ -1 +1 @@ -com.github.mrparkers.keycloak.CustomEventListenerProviderFactory +com.github.keycloak.CustomEventListenerProviderFactory diff --git a/custom-user-federation-example/src/main/resources/META-INF/services/org.keycloak.storage.UserStorageProviderFactory b/custom-user-federation-example/src/main/resources/META-INF/services/org.keycloak.storage.UserStorageProviderFactory index b90eeb523..035fcfe3b 100644 --- a/custom-user-federation-example/src/main/resources/META-INF/services/org.keycloak.storage.UserStorageProviderFactory +++ b/custom-user-federation-example/src/main/resources/META-INF/services/org.keycloak.storage.UserStorageProviderFactory @@ -1 +1 @@ -com.github.mrparkers.keycloak.CustomUserStorageProviderFactory +com.github.keycloak.CustomUserStorageProviderFactory diff --git a/docker-compose.yml b/docker-compose.yml index d36730cfa..53eacdbdc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,14 +7,12 @@ services: - POSTGRES_USER=keycloak - POSTGRES_PASSWORD=password image: postgres:16 - ports: - - 5432:5432 volumes: - postgres:/var/lib/postgresql openldap: image: bitnami/openldap:2.6 - ports: - - 8389:389 + environment: + LDAP_PORT_NUMBER: 389 keycloak: image: quay.io/keycloak/keycloak:21.0.1 command: --verbose start-dev --features=preview diff --git a/docs/data-sources/client_description_converter.md b/docs/data-sources/client_description_converter.md index feaf24632..237b620ed 100644 --- a/docs/data-sources/client_description_converter.md +++ b/docs/data-sources/client_description_converter.md @@ -65,6 +65,6 @@ The exported attributes for this data source are a combination of the attributes and [`keycloak_saml_client`][3] resources. You can also refer to the [ClientRepresentation][4] Javadocs for more details. [1]: https://www.keycloak.org/docs-api/6.0/javadocs/org/keycloak/exportimport/ClientDescriptionConverter.html -[2]: providers/mrparkers/keycloak/latest/docs/resources/openid_client -[3]: providers/mrparkers/keycloak/latest/docs/resources/saml_client +[2]: providers/keycloak/keycloak/latest/docs/resources/openid_client +[3]: providers/keycloak/keycloak/latest/docs/resources/saml_client [4]: https://www.keycloak.org/docs-api/6.0/javadocs/org/keycloak/representations/idm/ClientRepresentation.html diff --git a/docs/data-sources/realm.md b/docs/data-sources/realm.md index 494ba0351..c9e18e042 100644 --- a/docs/data-sources/realm.md +++ b/docs/data-sources/realm.md @@ -29,4 +29,4 @@ resource "keycloak_role" "group" { ## Attributes Reference -See the docs for the [`keycloak_realm` resource](https://registry.terraform.io/providers/mrparkers/keycloak/latest/docs/resources/realm) for details on the exported attributes. +See the docs for the [`keycloak_realm` resource](https://registry.terraform.io/providers/keycloak/keycloak/latest/docs/resources/realm) for details on the exported attributes. diff --git a/docs/resources/custom_user_federation.md b/docs/resources/custom_user_federation.md index 850450b94..1b3aea43e 100644 --- a/docs/resources/custom_user_federation.md +++ b/docs/resources/custom_user_federation.md @@ -7,7 +7,7 @@ page_title: "keycloak_custom_user_federation Resource" Allows for creating and managing custom user federation providers within Keycloak. A custom user federation provider is an implementation of Keycloak's [User Storage SPI](https://www.keycloak.org/docs/4.2/server_development/index.html#_user-storage-spi). -An example of this implementation can be found [here](https://github.com/mrparkers/terraform-provider-keycloak/tree/master/custom-user-federation-example). +An example of this implementation can be found [here](https://github.com/keycloak/terraform-provider-keycloak/tree/master/custom-user-federation-example). ## Example Usage diff --git a/docs/resources/group_memberships.md b/docs/resources/group_memberships.md index 19f6fcdbf..7b3a1f819 100644 --- a/docs/resources/group_memberships.md +++ b/docs/resources/group_memberships.md @@ -59,4 +59,4 @@ resource "keycloak_group_memberships" "group_members" { This resource does not support import. Instead of importing, feel free to create this resource as if it did not already exist on the server. -[1]: providers/mrparkers/keycloak/latest/docs/resources/group_memberships +[1]: providers/keycloak/keycloak/latest/docs/resources/group_memberships diff --git a/docs/resources/group_permissions.md b/docs/resources/group_permissions.md index 1ced4818e..154636aa0 100644 --- a/docs/resources/group_permissions.md +++ b/docs/resources/group_permissions.md @@ -8,7 +8,7 @@ Allows you to manage all group Scope Based Permissions https://www.keycloak.org/ This is part of a preview Keycloak feature: `admin_fine_grained_authz` (see https://www.keycloak.org/docs/latest/server_admin/#_fine_grain_permissions). This feature can be enabled with the Keycloak option `-Dkeycloak.profile.feature.admin_fine_grained_authz=enabled`. See the -example [`docker-compose.yml`](https://github.com/mrparkers/terraform-provider-keycloak/blob/898094df6b3e01c3404981ce7ca268142d6ff0e5/docker-compose.yml#L21) file for an example. +example [`docker-compose.yml`](https://github.com/keycloak/terraform-provider-keycloak/blob/898094df6b3e01c3404981ce7ca268142d6ff0e5/docker-compose.yml#L21) file for an example. When enabling Roles Permissions, Keycloak does several things automatically: 1. Enable Authorization on built-in `realm-management` client (if not already enabled). diff --git a/docs/resources/user.md b/docs/resources/user.md index a5601cb0d..0cc9dff2f 100644 --- a/docs/resources/user.md +++ b/docs/resources/user.md @@ -62,8 +62,8 @@ resource "keycloak_user" "user_with_initial_password" { - `first_name` - (Optional) The user's first name. - `last_name` - (Optional) The user's last name. - `attributes` - (Optional) A map representing attributes for the user. In order to add multivalue attributes, use `##` to seperate the values. Max length for each value is 255 chars -- `required_actions` - (Optional) A list of required user actions. -- `federated_identity` - (Optional) When specified, the user will be linked to a federated identity provider. Refer to the [federated user example](https://github.com/mrparkers/terraform-provider-keycloak/blob/master/example/federated_user_example.tf) for more details. +- `required_actions` - (Optional) A list of required user actions. +- `federated_identity` - (Optional) When specified, the user will be linked to a federated identity provider. Refer to the [federated user example](https://github.com/keycloak/terraform-provider-keycloak/blob/master/example/federated_user_example.tf) for more details. - `identity_provider` - (Required) The name of the identity provider - `user_id` - (Required) The ID of the user defined in the identity provider - `user_name` - (Required) The user name of the user defined in the identity provider diff --git a/docs/resources/users_permissions.md b/docs/resources/users_permissions.md index 506fa7e1c..f98c19f8b 100644 --- a/docs/resources/users_permissions.md +++ b/docs/resources/users_permissions.md @@ -8,7 +8,7 @@ Allows you to manage fine-grained permissions for all users in a realm: https:// This is part of a preview Keycloak feature: `admin_fine_grained_authz` (see https://www.keycloak.org/docs/latest/server_admin/#_fine_grain_permissions). This feature can be enabled with the Keycloak option `-Dkeycloak.profile.feature.admin_fine_grained_authz=enabled`. See the -example [`docker-compose.yml`](https://github.com/mrparkers/terraform-provider-keycloak/blob/898094df6b3e01c3404981ce7ca268142d6ff0e5/docker-compose.yml#L21) file for an example. +example [`docker-compose.yml`](https://github.com/keycloak/terraform-provider-keycloak/blob/898094df6b3e01c3404981ce7ca268142d6ff0e5/docker-compose.yml#L21) file for an example. When enabling fine-grained permissions for users, Keycloak does several things automatically: 1. Enable Authorization on built-in `realm-management` client (if not already enabled). diff --git a/example/client_authorization_policys.tf b/example/client_authorization_policys.tf index 3aea7bc41..d219817a0 100644 --- a/example/client_authorization_policys.tf +++ b/example/client_authorization_policys.tf @@ -191,4 +191,8 @@ resource "keycloak_openid_client_permissions" "my_permission" { description = "my description" decision_strategy = "UNANIMOUS" } + //needed because otherwise there is a conflict/race condition with the other permission + depends_on = [ + keycloak_users_permissions.my_permission + ] } diff --git a/example/main.tf b/example/main.tf index ceb8796b0..3aa2ae8a3 100644 --- a/example/main.tf +++ b/example/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { keycloak = { - source = "terraform.local/mrparkers/keycloak" + source = "terraform.local/keycloak/keycloak" version = ">= 4.0.0" } } @@ -103,7 +103,7 @@ resource "keycloak_realm" "test" { resource "keycloak_required_action" "custom-terms-and-conditions" { realm_id = keycloak_realm.test.realm - alias = "terms_and_conditions" + alias = "TERMS_AND_CONDITIONS" default_action = true enabled = true name = "Custom Terms and Conditions" @@ -290,7 +290,7 @@ resource "keycloak_ldap_user_federation" "openldap" { connection_url = "ldap://openldap" users_dn = "dc=example,dc=org" bind_dn = "cn=admin,dc=example,dc=org" - bind_credential = "admin" + bind_credential = "adminpassword" connection_timeout = "5s" read_timeout = "10s" @@ -327,7 +327,7 @@ resource "keycloak_ldap_user_federation" "openldap_no_default_mappers" { connection_url = "ldap://openldap" users_dn = "dc=example,dc=org" bind_dn = "cn=admin,dc=example,dc=org" - bind_credential = "admin" + bind_credential = "adminpassword" connection_timeout = "5s" read_timeout = "10s" diff --git a/go.mod b/go.mod index 89c597a4d..aa085c59b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/mrparkers/terraform-provider-keycloak +module github.com/keycloak/terraform-provider-keycloak require ( github.com/hashicorp/errwrap v1.0.0 diff --git a/keycloak/extra_config.go b/keycloak/extra_config.go index 953955d18..146679013 100644 --- a/keycloak/extra_config.go +++ b/keycloak/extra_config.go @@ -2,7 +2,7 @@ package keycloak import ( "encoding/json" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" "reflect" "strconv" "strings" diff --git a/keycloak/identity_provider.go b/keycloak/identity_provider.go index 0c9b45251..b9a93298e 100644 --- a/keycloak/identity_provider.go +++ b/keycloak/identity_provider.go @@ -3,7 +3,7 @@ package keycloak import ( "context" "fmt" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" "reflect" ) diff --git a/keycloak/openid_client.go b/keycloak/openid_client.go index e2a37df27..df4cdafb3 100644 --- a/keycloak/openid_client.go +++ b/keycloak/openid_client.go @@ -3,7 +3,7 @@ package keycloak import ( "context" "fmt" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" "reflect" ) diff --git a/keycloak/openid_client_scope.go b/keycloak/openid_client_scope.go index e760f5013..471b1f317 100644 --- a/keycloak/openid_client_scope.go +++ b/keycloak/openid_client_scope.go @@ -3,7 +3,7 @@ package keycloak import ( "context" "fmt" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" ) type OpenidClientScope struct { diff --git a/keycloak/realm.go b/keycloak/realm.go index 6afdf82ee..9196b6411 100644 --- a/keycloak/realm.go +++ b/keycloak/realm.go @@ -3,7 +3,7 @@ package keycloak import ( "context" "fmt" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" "strings" ) diff --git a/keycloak/saml_client.go b/keycloak/saml_client.go index c62731afb..0f51a9177 100644 --- a/keycloak/saml_client.go +++ b/keycloak/saml_client.go @@ -3,7 +3,7 @@ package keycloak import ( "context" "fmt" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" "reflect" ) diff --git a/keycloak/saml_client_scope.go b/keycloak/saml_client_scope.go index ef86c3952..47983d2fc 100644 --- a/keycloak/saml_client_scope.go +++ b/keycloak/saml_client_scope.go @@ -3,7 +3,7 @@ package keycloak import ( "context" "fmt" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" ) type SamlClientScope struct { diff --git a/main.go b/main.go index e8544827e..9281920b9 100644 --- a/main.go +++ b/main.go @@ -3,7 +3,7 @@ package main import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/plugin" - "github.com/mrparkers/terraform-provider-keycloak/provider" + "github.com/keycloak/terraform-provider-keycloak/provider" ) func main() { diff --git a/makefile b/makefile index 54c4062cd..30a18485e 100644 --- a/makefile +++ b/makefile @@ -10,10 +10,10 @@ build: CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X main.version=$(VERSION)" -o terraform-provider-keycloak_$(VERSION) build-example: build - mkdir -p example/.terraform/plugins/terraform.local/mrparkers/keycloak/4.0.0/$(GOOS)_$(GOARCH) - mkdir -p example/terraform.d/plugins/terraform.local/mrparkers/keycloak/4.0.0/$(GOOS)_$(GOARCH) - cp terraform-provider-keycloak_* example/.terraform/plugins/terraform.local/mrparkers/keycloak/4.0.0/$(GOOS)_$(GOARCH)/ - cp terraform-provider-keycloak_* example/terraform.d/plugins/terraform.local/mrparkers/keycloak/4.0.0/$(GOOS)_$(GOARCH)/ + mkdir -p example/.terraform/plugins/terraform.local/keycloak/keycloak/4.0.0/$(GOOS)_$(GOARCH) + mkdir -p example/terraform.d/plugins/terraform.local/keycloak/keycloak/4.0.0/$(GOOS)_$(GOARCH) + cp terraform-provider-keycloak_* example/.terraform/plugins/terraform.local/keycloak/keycloak/4.0.0/$(GOOS)_$(GOARCH)/ + cp terraform-provider-keycloak_* example/terraform.d/plugins/terraform.local/keycloak/keycloak/4.0.0/$(GOOS)_$(GOARCH)/ local: deps docker compose up --build -d @@ -30,8 +30,8 @@ test: fmtcheck vet go test $(TEST) testacc: fmtcheck vet - go test -v github.com/mrparkers/terraform-provider-keycloak/keycloak - TF_ACC=1 CHECKPOINT_DISABLE=1 go test -v -timeout 60m -parallel 4 github.com/mrparkers/terraform-provider-keycloak/provider $(TESTARGS) + go test -v github.com/keycloak/terraform-provider-keycloak/keycloak + TF_ACC=1 CHECKPOINT_DISABLE=1 go test -v -timeout 60m -parallel 4 github.com/keycloak/terraform-provider-keycloak/provider $(TESTARGS) fmtcheck: lineCount=$(shell gofmt -l -s $(GOFMT_FILES) | wc -l | tr -d ' ') && exit $$lineCount diff --git a/provider/data_source_keycloak_authentication_execution.go b/provider/data_source_keycloak_authentication_execution.go index b0db979cf..df2fd2b8d 100644 --- a/provider/data_source_keycloak_authentication_execution.go +++ b/provider/data_source_keycloak_authentication_execution.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakAuthenticationExecution() *schema.Resource { diff --git a/provider/data_source_keycloak_authentication_flow.go b/provider/data_source_keycloak_authentication_flow.go index ea15b54dd..c88026690 100644 --- a/provider/data_source_keycloak_authentication_flow.go +++ b/provider/data_source_keycloak_authentication_flow.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakAuthenticationFlow() *schema.Resource { diff --git a/provider/data_source_keycloak_client_description_converter.go b/provider/data_source_keycloak_client_description_converter.go index 7c177f5f2..b0a34a36d 100644 --- a/provider/data_source_keycloak_client_description_converter.go +++ b/provider/data_source_keycloak_client_description_converter.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakClientDescriptionConverter() *schema.Resource { diff --git a/provider/data_source_keycloak_group.go b/provider/data_source_keycloak_group.go index 86427d054..057b2520c 100644 --- a/provider/data_source_keycloak_group.go +++ b/provider/data_source_keycloak_group.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakGroup() *schema.Resource { diff --git a/provider/data_source_keycloak_openid_client.go b/provider/data_source_keycloak_openid_client.go index b248c5f56..4b6049988 100644 --- a/provider/data_source_keycloak_openid_client.go +++ b/provider/data_source_keycloak_openid_client.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakOpenidClient() *schema.Resource { diff --git a/provider/data_source_keycloak_openid_client_authorization_policy.go b/provider/data_source_keycloak_openid_client_authorization_policy.go index 380cce9ef..e00606e81 100644 --- a/provider/data_source_keycloak_openid_client_authorization_policy.go +++ b/provider/data_source_keycloak_openid_client_authorization_policy.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakOpenidClientAuthorizationPolicy() *schema.Resource { diff --git a/provider/data_source_keycloak_openid_client_scope.go b/provider/data_source_keycloak_openid_client_scope.go index b6e607bac..7ace2ee7b 100644 --- a/provider/data_source_keycloak_openid_client_scope.go +++ b/provider/data_source_keycloak_openid_client_scope.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakOpenidClientScope() *schema.Resource { diff --git a/provider/data_source_keycloak_openid_client_service_account_user.go b/provider/data_source_keycloak_openid_client_service_account_user.go index 35fa3c2a3..6fb4b014d 100644 --- a/provider/data_source_keycloak_openid_client_service_account_user.go +++ b/provider/data_source_keycloak_openid_client_service_account_user.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakOpenidClientServiceAccountUser() *schema.Resource { diff --git a/provider/data_source_keycloak_realm.go b/provider/data_source_keycloak_realm.go index 569885080..bab9d5eb9 100644 --- a/provider/data_source_keycloak_realm.go +++ b/provider/data_source_keycloak_realm.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakRealm() *schema.Resource { diff --git a/provider/data_source_keycloak_realm_keys.go b/provider/data_source_keycloak_realm_keys.go index 46de28b54..366feb774 100644 --- a/provider/data_source_keycloak_realm_keys.go +++ b/provider/data_source_keycloak_realm_keys.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakRealmKeys() *schema.Resource { diff --git a/provider/data_source_keycloak_role.go b/provider/data_source_keycloak_role.go index d6e53084b..fc483024a 100644 --- a/provider/data_source_keycloak_role.go +++ b/provider/data_source_keycloak_role.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakRole() *schema.Resource { diff --git a/provider/data_source_keycloak_saml_client.go b/provider/data_source_keycloak_saml_client.go index c614eb69f..b9c9ba59c 100644 --- a/provider/data_source_keycloak_saml_client.go +++ b/provider/data_source_keycloak_saml_client.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakSamlClient() *schema.Resource { diff --git a/provider/data_source_keycloak_saml_client_installation_provider.go b/provider/data_source_keycloak_saml_client_installation_provider.go index 53b47e9f6..1e15bf14a 100644 --- a/provider/data_source_keycloak_saml_client_installation_provider.go +++ b/provider/data_source_keycloak_saml_client_installation_provider.go @@ -6,7 +6,7 @@ import ( "encoding/base64" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakSamlClientInstallationProvider() *schema.Resource { diff --git a/provider/data_source_keycloak_user.go b/provider/data_source_keycloak_user.go index 7e9f4884d..9d59abc6a 100644 --- a/provider/data_source_keycloak_user.go +++ b/provider/data_source_keycloak_user.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakUser() *schema.Resource { diff --git a/provider/data_source_keycloak_user_realm_roles.go b/provider/data_source_keycloak_user_realm_roles.go index a3734fa7f..5f62e420e 100644 --- a/provider/data_source_keycloak_user_realm_roles.go +++ b/provider/data_source_keycloak_user_realm_roles.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func dataSourceKeycloakUserRealmRoles() *schema.Resource { diff --git a/provider/generic_keycloak_identity_provider.go b/provider/generic_keycloak_identity_provider.go index bcc7b3862..52995e275 100644 --- a/provider/generic_keycloak_identity_provider.go +++ b/provider/generic_keycloak_identity_provider.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "reflect" "strings" ) diff --git a/provider/generic_keycloak_identity_provider_mapper.go b/provider/generic_keycloak_identity_provider_mapper.go index c5fb3310c..57d448250 100644 --- a/provider/generic_keycloak_identity_provider_mapper.go +++ b/provider/generic_keycloak_identity_provider_mapper.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) type identityProviderMapperDataGetterFunc func(ctx context.Context, data *schema.ResourceData, meta interface{}) (*keycloak.IdentityProviderMapper, error) diff --git a/provider/permissions.go b/provider/permissions.go index cdbf379bb..c45692474 100644 --- a/provider/permissions.go +++ b/provider/permissions.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func setOpenidClientScopePermissionPolicy(ctx context.Context, keycloakClient *keycloak.KeycloakClient, realmId string, realmManagementClientId string, authorizationPermissionId string, scopeDataSet *schema.Set) error { diff --git a/provider/provider.go b/provider/provider.go index 00e08e889..a30091284 100644 --- a/provider/provider.go +++ b/provider/provider.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/meta" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func KeycloakProvider(client *keycloak.KeycloakClient) *schema.Provider { diff --git a/provider/provider_test.go b/provider/provider_test.go index 04c45eb4c..f2363da27 100644 --- a/provider/provider_test.go +++ b/provider/provider_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/meta" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "os" "testing" ) diff --git a/provider/resource_keycloak_attribute_importer_identity_provider_mapper.go b/provider/resource_keycloak_attribute_importer_identity_provider_mapper.go index d2b4b9826..8ce09795f 100644 --- a/provider/resource_keycloak_attribute_importer_identity_provider_mapper.go +++ b/provider/resource_keycloak_attribute_importer_identity_provider_mapper.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakAttributeImporterIdentityProviderMapper() *schema.Resource { diff --git a/provider/resource_keycloak_attribute_importer_identity_provider_mapper_test.go b/provider/resource_keycloak_attribute_importer_identity_provider_mapper_test.go index ab6467edb..936487b92 100644 --- a/provider/resource_keycloak_attribute_importer_identity_provider_mapper_test.go +++ b/provider/resource_keycloak_attribute_importer_identity_provider_mapper_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakAttributeImporterIdentityProviderMapper_basic(t *testing.T) { diff --git a/provider/resource_keycloak_attribute_to_role_identity_provider_mapper.go b/provider/resource_keycloak_attribute_to_role_identity_provider_mapper.go index 9da79d4b8..c10eaaede 100644 --- a/provider/resource_keycloak_attribute_to_role_identity_provider_mapper.go +++ b/provider/resource_keycloak_attribute_to_role_identity_provider_mapper.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakAttributeToRoleIdentityProviderMapper() *schema.Resource { diff --git a/provider/resource_keycloak_attribute_to_role_identity_provider_mapper_test.go b/provider/resource_keycloak_attribute_to_role_identity_provider_mapper_test.go index 97dcaa41d..2337cfd38 100644 --- a/provider/resource_keycloak_attribute_to_role_identity_provider_mapper_test.go +++ b/provider/resource_keycloak_attribute_to_role_identity_provider_mapper_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakAttributeToRoleIdentityProviderMapper_basic(t *testing.T) { diff --git a/provider/resource_keycloak_authentication_bindings.go b/provider/resource_keycloak_authentication_bindings.go index 80d3fcdbd..78a8d3b94 100644 --- a/provider/resource_keycloak_authentication_bindings.go +++ b/provider/resource_keycloak_authentication_bindings.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakAuthenticationBindings() *schema.Resource { diff --git a/provider/resource_keycloak_authentication_execution.go b/provider/resource_keycloak_authentication_execution.go index 59a3d21ba..1ab2d8a6b 100644 --- a/provider/resource_keycloak_authentication_execution.go +++ b/provider/resource_keycloak_authentication_execution.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakAuthenticationExecution() *schema.Resource { diff --git a/provider/resource_keycloak_authentication_execution_config.go b/provider/resource_keycloak_authentication_execution_config.go index a02cef399..1a4fbeb0c 100644 --- a/provider/resource_keycloak_authentication_execution_config.go +++ b/provider/resource_keycloak_authentication_execution_config.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakAuthenticationExecutionConfig() *schema.Resource { diff --git a/provider/resource_keycloak_authentication_execution_config_test.go b/provider/resource_keycloak_authentication_execution_config_test.go index 34d20d64c..e8a323b63 100644 --- a/provider/resource_keycloak_authentication_execution_config_test.go +++ b/provider/resource_keycloak_authentication_execution_config_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakAuthenticationExecutionConfig_basic(t *testing.T) { diff --git a/provider/resource_keycloak_authentication_execution_test.go b/provider/resource_keycloak_authentication_execution_test.go index b4f3d4a41..d892a2608 100644 --- a/provider/resource_keycloak_authentication_execution_test.go +++ b/provider/resource_keycloak_authentication_execution_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakAuthenticationExecution_basic(t *testing.T) { diff --git a/provider/resource_keycloak_authentication_flow.go b/provider/resource_keycloak_authentication_flow.go index 8dba589d6..d788eacac 100644 --- a/provider/resource_keycloak_authentication_flow.go +++ b/provider/resource_keycloak_authentication_flow.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" ) diff --git a/provider/resource_keycloak_authentication_flow_test.go b/provider/resource_keycloak_authentication_flow_test.go index 5b62c16ec..d3beda537 100644 --- a/provider/resource_keycloak_authentication_flow_test.go +++ b/provider/resource_keycloak_authentication_flow_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "testing" ) diff --git a/provider/resource_keycloak_authentication_subflow.go b/provider/resource_keycloak_authentication_subflow.go index d9e5728e6..b3725cf4f 100644 --- a/provider/resource_keycloak_authentication_subflow.go +++ b/provider/resource_keycloak_authentication_subflow.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" ) diff --git a/provider/resource_keycloak_authentication_subflow_test.go b/provider/resource_keycloak_authentication_subflow_test.go index 3b5438ced..f4b25826b 100644 --- a/provider/resource_keycloak_authentication_subflow_test.go +++ b/provider/resource_keycloak_authentication_subflow_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "testing" ) diff --git a/provider/resource_keycloak_custom_identity_provider_mapper.go b/provider/resource_keycloak_custom_identity_provider_mapper.go index 9161dcdee..1abc35850 100644 --- a/provider/resource_keycloak_custom_identity_provider_mapper.go +++ b/provider/resource_keycloak_custom_identity_provider_mapper.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakCustomIdentityProviderMapper() *schema.Resource { diff --git a/provider/resource_keycloak_custom_identity_provider_mapper_test.go b/provider/resource_keycloak_custom_identity_provider_mapper_test.go index 95a966ad5..041c6c755 100644 --- a/provider/resource_keycloak_custom_identity_provider_mapper_test.go +++ b/provider/resource_keycloak_custom_identity_provider_mapper_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakCustomIdentityProviderMapper_basic(t *testing.T) { diff --git a/provider/resource_keycloak_custom_user_federation.go b/provider/resource_keycloak_custom_user_federation.go index 1a1be2b2d..978982154 100644 --- a/provider/resource_keycloak_custom_user_federation.go +++ b/provider/resource_keycloak_custom_user_federation.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakCustomUserFederation() *schema.Resource { diff --git a/provider/resource_keycloak_custom_user_federation_test.go b/provider/resource_keycloak_custom_user_federation_test.go index 61f42113f..a596a83f0 100644 --- a/provider/resource_keycloak_custom_user_federation_test.go +++ b/provider/resource_keycloak_custom_user_federation_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakCustomUserFederation_basic(t *testing.T) { diff --git a/provider/resource_keycloak_default_groups.go b/provider/resource_keycloak_default_groups.go index a8287fe8f..aa6eb38cd 100644 --- a/provider/resource_keycloak_default_groups.go +++ b/provider/resource_keycloak_default_groups.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakDefaultGroups() *schema.Resource { diff --git a/provider/resource_keycloak_default_groups_test.go b/provider/resource_keycloak_default_groups_test.go index 48ba862d1..048d47aa4 100644 --- a/provider/resource_keycloak_default_groups_test.go +++ b/provider/resource_keycloak_default_groups_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakDefaultGroups_basic(t *testing.T) { diff --git a/provider/resource_keycloak_default_roles.go b/provider/resource_keycloak_default_roles.go index 30f8e0fa6..bd2e99645 100644 --- a/provider/resource_keycloak_default_roles.go +++ b/provider/resource_keycloak_default_roles.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakDefaultRoles() *schema.Resource { diff --git a/provider/resource_keycloak_default_roles_test.go b/provider/resource_keycloak_default_roles_test.go index 56ad76aef..4313b0663 100644 --- a/provider/resource_keycloak_default_roles_test.go +++ b/provider/resource_keycloak_default_roles_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "testing" ) diff --git a/provider/resource_keycloak_generic_client_protocol_mapper.go b/provider/resource_keycloak_generic_client_protocol_mapper.go index 076305b67..1e1291d46 100644 --- a/provider/resource_keycloak_generic_client_protocol_mapper.go +++ b/provider/resource_keycloak_generic_client_protocol_mapper.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakGenericClientProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_generic_client_protocol_mapper_test.go b/provider/resource_keycloak_generic_client_protocol_mapper_test.go index e42a70b1f..b814de0c8 100644 --- a/provider/resource_keycloak_generic_client_protocol_mapper_test.go +++ b/provider/resource_keycloak_generic_client_protocol_mapper_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" diff --git a/provider/resource_keycloak_generic_client_role_mapper_test.go b/provider/resource_keycloak_generic_client_role_mapper_test.go index 8a373ab1e..67083f444 100644 --- a/provider/resource_keycloak_generic_client_role_mapper_test.go +++ b/provider/resource_keycloak_generic_client_role_mapper_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakGenericClientRoleMapper_basic(t *testing.T) { diff --git a/provider/resource_keycloak_generic_protocol_mapper.go b/provider/resource_keycloak_generic_protocol_mapper.go index c6e26d35b..5893a609c 100644 --- a/provider/resource_keycloak_generic_protocol_mapper.go +++ b/provider/resource_keycloak_generic_protocol_mapper.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakGenericProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_generic_protocol_mapper_test.go b/provider/resource_keycloak_generic_protocol_mapper_test.go index 81cbec373..9ba5cbcbc 100644 --- a/provider/resource_keycloak_generic_protocol_mapper_test.go +++ b/provider/resource_keycloak_generic_protocol_mapper_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" diff --git a/provider/resource_keycloak_generic_role_mapper.go b/provider/resource_keycloak_generic_role_mapper.go index 46e037bbd..103be5328 100644 --- a/provider/resource_keycloak_generic_role_mapper.go +++ b/provider/resource_keycloak_generic_role_mapper.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakGenericRoleMapper() *schema.Resource { diff --git a/provider/resource_keycloak_generic_role_mapper_test.go b/provider/resource_keycloak_generic_role_mapper_test.go index f60ef07ff..1896c1ef5 100644 --- a/provider/resource_keycloak_generic_role_mapper_test.go +++ b/provider/resource_keycloak_generic_role_mapper_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakGenericRoleMapper_basic(t *testing.T) { diff --git a/provider/resource_keycloak_group.go b/provider/resource_keycloak_group.go index 32d2e8be8..6064b5ae0 100644 --- a/provider/resource_keycloak_group.go +++ b/provider/resource_keycloak_group.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakGroup() *schema.Resource { diff --git a/provider/resource_keycloak_group_memberships.go b/provider/resource_keycloak_group_memberships.go index ca27880a5..04b48183e 100644 --- a/provider/resource_keycloak_group_memberships.go +++ b/provider/resource_keycloak_group_memberships.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakGroupMemberships() *schema.Resource { diff --git a/provider/resource_keycloak_group_memberships_test.go b/provider/resource_keycloak_group_memberships_test.go index bea358eb8..f940893d7 100644 --- a/provider/resource_keycloak_group_memberships_test.go +++ b/provider/resource_keycloak_group_memberships_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "strings" "testing" diff --git a/provider/resource_keycloak_group_permissions.go b/provider/resource_keycloak_group_permissions.go index b223b5b42..2231e02d3 100644 --- a/provider/resource_keycloak_group_permissions.go +++ b/provider/resource_keycloak_group_permissions.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakGroupPermissions() *schema.Resource { diff --git a/provider/resource_keycloak_group_permissions_test.go b/provider/resource_keycloak_group_permissions_test.go index 0345c18f1..72fc1e297 100644 --- a/provider/resource_keycloak_group_permissions_test.go +++ b/provider/resource_keycloak_group_permissions_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakGroupPermission_basic(t *testing.T) { diff --git a/provider/resource_keycloak_group_roles.go b/provider/resource_keycloak_group_roles.go index 8932ae9bb..8cb6cb53b 100644 --- a/provider/resource_keycloak_group_roles.go +++ b/provider/resource_keycloak_group_roles.go @@ -6,7 +6,7 @@ import ( "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" ) diff --git a/provider/resource_keycloak_group_roles_test.go b/provider/resource_keycloak_group_roles_test.go index 794b5bf44..e48972c97 100644 --- a/provider/resource_keycloak_group_roles_test.go +++ b/provider/resource_keycloak_group_roles_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_group_test.go b/provider/resource_keycloak_group_test.go index 549a0f461..e795644ec 100644 --- a/provider/resource_keycloak_group_test.go +++ b/provider/resource_keycloak_group_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakGroup_basic(t *testing.T) { diff --git a/provider/resource_keycloak_hardcoded_attribute_identity_provider_mapper.go b/provider/resource_keycloak_hardcoded_attribute_identity_provider_mapper.go index 20f91c0cd..4245f55e1 100644 --- a/provider/resource_keycloak_hardcoded_attribute_identity_provider_mapper.go +++ b/provider/resource_keycloak_hardcoded_attribute_identity_provider_mapper.go @@ -4,7 +4,7 @@ import ( "context" "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakHardcodedAttributeIdentityProviderMapper() *schema.Resource { diff --git a/provider/resource_keycloak_hardcoded_attribute_identity_provider_mapper_test.go b/provider/resource_keycloak_hardcoded_attribute_identity_provider_mapper_test.go index e60cf3cf6..c73076ced 100644 --- a/provider/resource_keycloak_hardcoded_attribute_identity_provider_mapper_test.go +++ b/provider/resource_keycloak_hardcoded_attribute_identity_provider_mapper_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakHardcodedAttributeIdentityProviderMapper_basic(t *testing.T) { diff --git a/provider/resource_keycloak_hardcoded_role_identity_provider_mapper.go b/provider/resource_keycloak_hardcoded_role_identity_provider_mapper.go index 667b502a5..85025f586 100644 --- a/provider/resource_keycloak_hardcoded_role_identity_provider_mapper.go +++ b/provider/resource_keycloak_hardcoded_role_identity_provider_mapper.go @@ -3,7 +3,7 @@ package provider import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakHardcodedRoleIdentityProviderMapper() *schema.Resource { diff --git a/provider/resource_keycloak_hardcoded_role_identity_provider_mapper_test.go b/provider/resource_keycloak_hardcoded_role_identity_provider_mapper_test.go index 087ab9f0b..952259bcf 100644 --- a/provider/resource_keycloak_hardcoded_role_identity_provider_mapper_test.go +++ b/provider/resource_keycloak_hardcoded_role_identity_provider_mapper_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakHardcodedRoleIdentityProviderMapper_basic(t *testing.T) { diff --git a/provider/resource_keycloak_identity_provider_token_exchange_scope_permission.go b/provider/resource_keycloak_identity_provider_token_exchange_scope_permission.go index a5ee268c9..02754d0d2 100644 --- a/provider/resource_keycloak_identity_provider_token_exchange_scope_permission.go +++ b/provider/resource_keycloak_identity_provider_token_exchange_scope_permission.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "math/rand" "strings" ) diff --git a/provider/resource_keycloak_identity_provider_token_exchange_scope_permission_test.go b/provider/resource_keycloak_identity_provider_token_exchange_scope_permission_test.go index e77cb4d12..3b1ee1980 100644 --- a/provider/resource_keycloak_identity_provider_token_exchange_scope_permission_test.go +++ b/provider/resource_keycloak_identity_provider_token_exchange_scope_permission_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_ldap_custom_mapper.go b/provider/resource_keycloak_ldap_custom_mapper.go index a1a275053..337d9d83c 100644 --- a/provider/resource_keycloak_ldap_custom_mapper.go +++ b/provider/resource_keycloak_ldap_custom_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakLdapCustomMapper() *schema.Resource { diff --git a/provider/resource_keycloak_ldap_custom_mapper_test.go b/provider/resource_keycloak_ldap_custom_mapper_test.go index a72fa1dd0..f8cf8525b 100644 --- a/provider/resource_keycloak_ldap_custom_mapper_test.go +++ b/provider/resource_keycloak_ldap_custom_mapper_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakLdapCustomMapper_basic(t *testing.T) { diff --git a/provider/resource_keycloak_ldap_full_name_mapper.go b/provider/resource_keycloak_ldap_full_name_mapper.go index 4715a465f..ffbb73255 100644 --- a/provider/resource_keycloak_ldap_full_name_mapper.go +++ b/provider/resource_keycloak_ldap_full_name_mapper.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" ) diff --git a/provider/resource_keycloak_ldap_full_name_mapper_test.go b/provider/resource_keycloak_ldap_full_name_mapper_test.go index d82037973..506ae6e44 100644 --- a/provider/resource_keycloak_ldap_full_name_mapper_test.go +++ b/provider/resource_keycloak_ldap_full_name_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_ldap_group_mapper.go b/provider/resource_keycloak_ldap_group_mapper.go index 1cb35ae7b..ac346089a 100644 --- a/provider/resource_keycloak_ldap_group_mapper.go +++ b/provider/resource_keycloak_ldap_group_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" ) diff --git a/provider/resource_keycloak_ldap_group_mapper_test.go b/provider/resource_keycloak_ldap_group_mapper_test.go index c3a6eb4f3..26e7822af 100644 --- a/provider/resource_keycloak_ldap_group_mapper_test.go +++ b/provider/resource_keycloak_ldap_group_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_ldap_hardcoded_attribute_mapper.go b/provider/resource_keycloak_ldap_hardcoded_attribute_mapper.go index 2f495c284..ac9016f4f 100644 --- a/provider/resource_keycloak_ldap_hardcoded_attribute_mapper.go +++ b/provider/resource_keycloak_ldap_hardcoded_attribute_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakLdapHardcodedAttributeMapper() *schema.Resource { diff --git a/provider/resource_keycloak_ldap_hardcoded_attribute_mapper_test.go b/provider/resource_keycloak_ldap_hardcoded_attribute_mapper_test.go index f5aefbfc4..f42c026f8 100644 --- a/provider/resource_keycloak_ldap_hardcoded_attribute_mapper_test.go +++ b/provider/resource_keycloak_ldap_hardcoded_attribute_mapper_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakLdapHardcodedAttributeMapper_basic(t *testing.T) { diff --git a/provider/resource_keycloak_ldap_hardcoded_group_mapper.go b/provider/resource_keycloak_ldap_hardcoded_group_mapper.go index 7464c3046..070749373 100644 --- a/provider/resource_keycloak_ldap_hardcoded_group_mapper.go +++ b/provider/resource_keycloak_ldap_hardcoded_group_mapper.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakLdapHardcodedGroupMapper() *schema.Resource { diff --git a/provider/resource_keycloak_ldap_hardcoded_group_mapper_test.go b/provider/resource_keycloak_ldap_hardcoded_group_mapper_test.go index f6cdd93aa..d226c8980 100644 --- a/provider/resource_keycloak_ldap_hardcoded_group_mapper_test.go +++ b/provider/resource_keycloak_ldap_hardcoded_group_mapper_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakLdapHardcodedGroupMapper_basic(t *testing.T) { diff --git a/provider/resource_keycloak_ldap_hardcoded_role_mapper.go b/provider/resource_keycloak_ldap_hardcoded_role_mapper.go index 627a77118..4f0f4491f 100644 --- a/provider/resource_keycloak_ldap_hardcoded_role_mapper.go +++ b/provider/resource_keycloak_ldap_hardcoded_role_mapper.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakLdapHardcodedRoleMapper() *schema.Resource { diff --git a/provider/resource_keycloak_ldap_hardcoded_role_mapper_test.go b/provider/resource_keycloak_ldap_hardcoded_role_mapper_test.go index 91ae9b8fd..9805540a3 100644 --- a/provider/resource_keycloak_ldap_hardcoded_role_mapper_test.go +++ b/provider/resource_keycloak_ldap_hardcoded_role_mapper_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakLdapHardcodedRoleMapper_basic(t *testing.T) { diff --git a/provider/resource_keycloak_ldap_msad_lds_user_account_control_mapper.go b/provider/resource_keycloak_ldap_msad_lds_user_account_control_mapper.go index f8dc5febc..7e1cc43a5 100644 --- a/provider/resource_keycloak_ldap_msad_lds_user_account_control_mapper.go +++ b/provider/resource_keycloak_ldap_msad_lds_user_account_control_mapper.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakLdapMsadLdsUserAccountControlMapper() *schema.Resource { diff --git a/provider/resource_keycloak_ldap_msad_lds_user_account_control_mapper_test.go b/provider/resource_keycloak_ldap_msad_lds_user_account_control_mapper_test.go index efe7d1f85..e04aca54a 100644 --- a/provider/resource_keycloak_ldap_msad_lds_user_account_control_mapper_test.go +++ b/provider/resource_keycloak_ldap_msad_lds_user_account_control_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "testing" ) diff --git a/provider/resource_keycloak_ldap_msad_user_account_control_mapper.go b/provider/resource_keycloak_ldap_msad_user_account_control_mapper.go index ec85023d4..908c5e216 100644 --- a/provider/resource_keycloak_ldap_msad_user_account_control_mapper.go +++ b/provider/resource_keycloak_ldap_msad_user_account_control_mapper.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakLdapMsadUserAccountControlMapper() *schema.Resource { diff --git a/provider/resource_keycloak_ldap_msad_user_account_control_mapper_test.go b/provider/resource_keycloak_ldap_msad_user_account_control_mapper_test.go index 4b27b65d2..d01b8d15c 100644 --- a/provider/resource_keycloak_ldap_msad_user_account_control_mapper_test.go +++ b/provider/resource_keycloak_ldap_msad_user_account_control_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "testing" ) diff --git a/provider/resource_keycloak_ldap_role_mapper.go b/provider/resource_keycloak_ldap_role_mapper.go index 87c334711..e03d349b6 100644 --- a/provider/resource_keycloak_ldap_role_mapper.go +++ b/provider/resource_keycloak_ldap_role_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" ) diff --git a/provider/resource_keycloak_ldap_role_mapper_test.go b/provider/resource_keycloak_ldap_role_mapper_test.go index 938717f50..c907d0c13 100644 --- a/provider/resource_keycloak_ldap_role_mapper_test.go +++ b/provider/resource_keycloak_ldap_role_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_ldap_user_attribute_mapper.go b/provider/resource_keycloak_ldap_user_attribute_mapper.go index ea22d3431..1b4b3927f 100644 --- a/provider/resource_keycloak_ldap_user_attribute_mapper.go +++ b/provider/resource_keycloak_ldap_user_attribute_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakLdapUserAttributeMapper() *schema.Resource { diff --git a/provider/resource_keycloak_ldap_user_attribute_mapper_test.go b/provider/resource_keycloak_ldap_user_attribute_mapper_test.go index 0e46e681b..85ab7b491 100644 --- a/provider/resource_keycloak_ldap_user_attribute_mapper_test.go +++ b/provider/resource_keycloak_ldap_user_attribute_mapper_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakLdapUserAttributeMapper_basic(t *testing.T) { diff --git a/provider/resource_keycloak_ldap_user_federation.go b/provider/resource_keycloak_ldap_user_federation.go index fb6e0da1c..385b8dd3b 100644 --- a/provider/resource_keycloak_ldap_user_federation.go +++ b/provider/resource_keycloak_ldap_user_federation.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) var ( diff --git a/provider/resource_keycloak_ldap_user_federation_test.go b/provider/resource_keycloak_ldap_user_federation_test.go index 035493bcc..49877664e 100644 --- a/provider/resource_keycloak_ldap_user_federation_test.go +++ b/provider/resource_keycloak_ldap_user_federation_test.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakLdapUserFederation_basic(t *testing.T) { diff --git a/provider/resource_keycloak_oidc_google_identity_provider.go b/provider/resource_keycloak_oidc_google_identity_provider.go index 7831e513d..aa438623c 100644 --- a/provider/resource_keycloak_oidc_google_identity_provider.go +++ b/provider/resource_keycloak_oidc_google_identity_provider.go @@ -3,8 +3,8 @@ package provider import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/imdario/mergo" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" ) func resourceKeycloakOidcGoogleIdentityProvider() *schema.Resource { diff --git a/provider/resource_keycloak_oidc_google_identity_provider_test.go b/provider/resource_keycloak_oidc_google_identity_provider_test.go index 63c55f9fd..d9619bcee 100644 --- a/provider/resource_keycloak_oidc_google_identity_provider_test.go +++ b/provider/resource_keycloak_oidc_google_identity_provider_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "strconv" "testing" diff --git a/provider/resource_keycloak_oidc_identity_provider.go b/provider/resource_keycloak_oidc_identity_provider.go index 0e6e36c3f..455ccdf50 100644 --- a/provider/resource_keycloak_oidc_identity_provider.go +++ b/provider/resource_keycloak_oidc_identity_provider.go @@ -3,8 +3,8 @@ package provider import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/imdario/mergo" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" ) func resourceKeycloakOidcIdentityProvider() *schema.Resource { diff --git a/provider/resource_keycloak_oidc_identity_provider_test.go b/provider/resource_keycloak_oidc_identity_provider_test.go index 1cb7520e0..97e9021cd 100644 --- a/provider/resource_keycloak_oidc_identity_provider_test.go +++ b/provider/resource_keycloak_oidc_identity_provider_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "strconv" "testing" diff --git a/provider/resource_keycloak_openid_audience_protocol_mapper.go b/provider/resource_keycloak_openid_audience_protocol_mapper.go index 6e7d96a78..426ed8c68 100644 --- a/provider/resource_keycloak_openid_audience_protocol_mapper.go +++ b/provider/resource_keycloak_openid_audience_protocol_mapper.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenIdAudienceProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_openid_audience_protocol_mapper_test.go b/provider/resource_keycloak_openid_audience_protocol_mapper_test.go index c663a3cb9..20836ddfe 100644 --- a/provider/resource_keycloak_openid_audience_protocol_mapper_test.go +++ b/provider/resource_keycloak_openid_audience_protocol_mapper_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenIdAudienceProtocolMapper_basicClient(t *testing.T) { diff --git a/provider/resource_keycloak_openid_audience_resolve_protocol_mapper.go b/provider/resource_keycloak_openid_audience_resolve_protocol_mapper.go index bdff85784..fce604cdc 100644 --- a/provider/resource_keycloak_openid_audience_resolve_protocol_mapper.go +++ b/provider/resource_keycloak_openid_audience_resolve_protocol_mapper.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenIdAudienceResolveProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_openid_audience_resolve_protocol_mapper_test.go b/provider/resource_keycloak_openid_audience_resolve_protocol_mapper_test.go index a0295bbfb..f9d9cb6a0 100644 --- a/provider/resource_keycloak_openid_audience_resolve_protocol_mapper_test.go +++ b/provider/resource_keycloak_openid_audience_resolve_protocol_mapper_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenIdAudienceResolveProtocolMapper_basicClient(t *testing.T) { diff --git a/provider/resource_keycloak_openid_client.go b/provider/resource_keycloak_openid_client.go index 06a9be69c..73e5fdd12 100644 --- a/provider/resource_keycloak_openid_client.go +++ b/provider/resource_keycloak_openid_client.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" "github.com/imdario/mergo" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" "reflect" "strings" @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/customdiff" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) var ( diff --git a/provider/resource_keycloak_openid_client_authorization_aggregate_policy.go b/provider/resource_keycloak_openid_client_authorization_aggregate_policy.go index 21e52ac1f..497103a57 100644 --- a/provider/resource_keycloak_openid_client_authorization_aggregate_policy.go +++ b/provider/resource_keycloak_openid_client_authorization_aggregate_policy.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenidClientAuthorizationAggregatePolicy() *schema.Resource { diff --git a/provider/resource_keycloak_openid_client_authorization_aggregate_policy_test.go b/provider/resource_keycloak_openid_client_authorization_aggregate_policy_test.go index 295680dc9..073266abe 100644 --- a/provider/resource_keycloak_openid_client_authorization_aggregate_policy_test.go +++ b/provider/resource_keycloak_openid_client_authorization_aggregate_policy_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenidClientAuthorizationAggregatePolicy(t *testing.T) { diff --git a/provider/resource_keycloak_openid_client_authorization_client_policy.go b/provider/resource_keycloak_openid_client_authorization_client_policy.go index a0b6a2b5e..9bce6a5f7 100644 --- a/provider/resource_keycloak_openid_client_authorization_client_policy.go +++ b/provider/resource_keycloak_openid_client_authorization_client_policy.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenidClientAuthorizationClientPolicy() *schema.Resource { diff --git a/provider/resource_keycloak_openid_client_authorization_client_policy_test.go b/provider/resource_keycloak_openid_client_authorization_client_policy_test.go index 6ddcfa3d2..09ba4b037 100644 --- a/provider/resource_keycloak_openid_client_authorization_client_policy_test.go +++ b/provider/resource_keycloak_openid_client_authorization_client_policy_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenidClientAuthorizationClientPolicy(t *testing.T) { diff --git a/provider/resource_keycloak_openid_client_authorization_group_policy.go b/provider/resource_keycloak_openid_client_authorization_group_policy.go index 5d2bb543e..46337fae4 100644 --- a/provider/resource_keycloak_openid_client_authorization_group_policy.go +++ b/provider/resource_keycloak_openid_client_authorization_group_policy.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenidClientAuthorizationGroupPolicy() *schema.Resource { diff --git a/provider/resource_keycloak_openid_client_authorization_group_policy_test.go b/provider/resource_keycloak_openid_client_authorization_group_policy_test.go index 9536fc110..4a10b31b2 100644 --- a/provider/resource_keycloak_openid_client_authorization_group_policy_test.go +++ b/provider/resource_keycloak_openid_client_authorization_group_policy_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenidClientAuthorizationGroupPolicy(t *testing.T) { diff --git a/provider/resource_keycloak_openid_client_authorization_js_policy.go b/provider/resource_keycloak_openid_client_authorization_js_policy.go index 69547528b..73c39e219 100644 --- a/provider/resource_keycloak_openid_client_authorization_js_policy.go +++ b/provider/resource_keycloak_openid_client_authorization_js_policy.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenidClientAuthorizationJSPolicy() *schema.Resource { diff --git a/provider/resource_keycloak_openid_client_authorization_js_policy_test.go b/provider/resource_keycloak_openid_client_authorization_js_policy_test.go index 2db81860d..a4949886f 100644 --- a/provider/resource_keycloak_openid_client_authorization_js_policy_test.go +++ b/provider/resource_keycloak_openid_client_authorization_js_policy_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenidClientAuthorizationJSPolicy(t *testing.T) { diff --git a/provider/resource_keycloak_openid_client_authorization_permission.go b/provider/resource_keycloak_openid_client_authorization_permission.go index fc7046671..fa39b5899 100644 --- a/provider/resource_keycloak_openid_client_authorization_permission.go +++ b/provider/resource_keycloak_openid_client_authorization_permission.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) var ( diff --git a/provider/resource_keycloak_openid_client_authorization_permission_test.go b/provider/resource_keycloak_openid_client_authorization_permission_test.go index 7bb0a2df6..bccd9cb37 100644 --- a/provider/resource_keycloak_openid_client_authorization_permission_test.go +++ b/provider/resource_keycloak_openid_client_authorization_permission_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenidClientAuthorizationPermission_basic(t *testing.T) { diff --git a/provider/resource_keycloak_openid_client_authorization_resource.go b/provider/resource_keycloak_openid_client_authorization_resource.go index 150b45bef..ad012687d 100644 --- a/provider/resource_keycloak_openid_client_authorization_resource.go +++ b/provider/resource_keycloak_openid_client_authorization_resource.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" ) diff --git a/provider/resource_keycloak_openid_client_authorization_resource_test.go b/provider/resource_keycloak_openid_client_authorization_resource_test.go index f34221253..4b42d0c7e 100644 --- a/provider/resource_keycloak_openid_client_authorization_resource_test.go +++ b/provider/resource_keycloak_openid_client_authorization_resource_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "testing" ) diff --git a/provider/resource_keycloak_openid_client_authorization_role_policy.go b/provider/resource_keycloak_openid_client_authorization_role_policy.go index 064b5ca0b..db43f95db 100644 --- a/provider/resource_keycloak_openid_client_authorization_role_policy.go +++ b/provider/resource_keycloak_openid_client_authorization_role_policy.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenidClientAuthorizationRolePolicy() *schema.Resource { diff --git a/provider/resource_keycloak_openid_client_authorization_role_policy_test.go b/provider/resource_keycloak_openid_client_authorization_role_policy_test.go index 9ca1e33f4..dbb512fa6 100644 --- a/provider/resource_keycloak_openid_client_authorization_role_policy_test.go +++ b/provider/resource_keycloak_openid_client_authorization_role_policy_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenidClientAuthorizationRolePolicy_basic(t *testing.T) { diff --git a/provider/resource_keycloak_openid_client_authorization_scope.go b/provider/resource_keycloak_openid_client_authorization_scope.go index 4e50f4fc7..1360351a7 100644 --- a/provider/resource_keycloak_openid_client_authorization_scope.go +++ b/provider/resource_keycloak_openid_client_authorization_scope.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" ) diff --git a/provider/resource_keycloak_openid_client_authorization_scope_test.go b/provider/resource_keycloak_openid_client_authorization_scope_test.go index d089d771e..67789f50a 100644 --- a/provider/resource_keycloak_openid_client_authorization_scope_test.go +++ b/provider/resource_keycloak_openid_client_authorization_scope_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "testing" ) diff --git a/provider/resource_keycloak_openid_client_authorization_time_policy.go b/provider/resource_keycloak_openid_client_authorization_time_policy.go index 51e69e174..6881e6251 100644 --- a/provider/resource_keycloak_openid_client_authorization_time_policy.go +++ b/provider/resource_keycloak_openid_client_authorization_time_policy.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenidClientAuthorizationTimePolicy() *schema.Resource { diff --git a/provider/resource_keycloak_openid_client_authorization_time_policy_test.go b/provider/resource_keycloak_openid_client_authorization_time_policy_test.go index e63648359..9f4c7eff3 100644 --- a/provider/resource_keycloak_openid_client_authorization_time_policy_test.go +++ b/provider/resource_keycloak_openid_client_authorization_time_policy_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenidClientAuthorizationTimePolicy(t *testing.T) { diff --git a/provider/resource_keycloak_openid_client_authorization_user_policy.go b/provider/resource_keycloak_openid_client_authorization_user_policy.go index 64cc0b129..f5e5a9e3d 100644 --- a/provider/resource_keycloak_openid_client_authorization_user_policy.go +++ b/provider/resource_keycloak_openid_client_authorization_user_policy.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenidClientAuthorizationUserPolicy() *schema.Resource { diff --git a/provider/resource_keycloak_openid_client_authorization_user_policy_test.go b/provider/resource_keycloak_openid_client_authorization_user_policy_test.go index 6c7be7bd6..9d358e788 100644 --- a/provider/resource_keycloak_openid_client_authorization_user_policy_test.go +++ b/provider/resource_keycloak_openid_client_authorization_user_policy_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenidClientAuthorizationUserPolicy(t *testing.T) { diff --git a/provider/resource_keycloak_openid_client_default_scopes.go b/provider/resource_keycloak_openid_client_default_scopes.go index 7829c207c..798ffb503 100644 --- a/provider/resource_keycloak_openid_client_default_scopes.go +++ b/provider/resource_keycloak_openid_client_default_scopes.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenidClientDefaultScopes() *schema.Resource { diff --git a/provider/resource_keycloak_openid_client_default_scopes_test.go b/provider/resource_keycloak_openid_client_default_scopes_test.go index c7b121e21..3d3d2b106 100644 --- a/provider/resource_keycloak_openid_client_default_scopes_test.go +++ b/provider/resource_keycloak_openid_client_default_scopes_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "strings" "testing" diff --git a/provider/resource_keycloak_openid_client_optional_scopes.go b/provider/resource_keycloak_openid_client_optional_scopes.go index b84b78f02..5afa08709 100644 --- a/provider/resource_keycloak_openid_client_optional_scopes.go +++ b/provider/resource_keycloak_openid_client_optional_scopes.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenidClientOptionalScopes() *schema.Resource { diff --git a/provider/resource_keycloak_openid_client_optional_scopes_test.go b/provider/resource_keycloak_openid_client_optional_scopes_test.go index 5ed09f045..3efa1da63 100644 --- a/provider/resource_keycloak_openid_client_optional_scopes_test.go +++ b/provider/resource_keycloak_openid_client_optional_scopes_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "strings" "testing" diff --git a/provider/resource_keycloak_openid_client_permissions.go b/provider/resource_keycloak_openid_client_permissions.go index d34832c0a..81ca50a12 100644 --- a/provider/resource_keycloak_openid_client_permissions.go +++ b/provider/resource_keycloak_openid_client_permissions.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenidClientPermissions() *schema.Resource { diff --git a/provider/resource_keycloak_openid_client_permissions_test.go b/provider/resource_keycloak_openid_client_permissions_test.go index 77de326a7..3f103cf30 100644 --- a/provider/resource_keycloak_openid_client_permissions_test.go +++ b/provider/resource_keycloak_openid_client_permissions_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenidClientPermission_basic(t *testing.T) { diff --git a/provider/resource_keycloak_openid_client_scope.go b/provider/resource_keycloak_openid_client_scope.go index acd41fff9..77e626a92 100644 --- a/provider/resource_keycloak_openid_client_scope.go +++ b/provider/resource_keycloak_openid_client_scope.go @@ -4,12 +4,12 @@ import ( "context" "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" "strconv" "strings" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenidClientScope() *schema.Resource { diff --git a/provider/resource_keycloak_openid_client_scope_test.go b/provider/resource_keycloak_openid_client_scope_test.go index 9c92da911..e36c2fd2a 100644 --- a/provider/resource_keycloak_openid_client_scope_test.go +++ b/provider/resource_keycloak_openid_client_scope_test.go @@ -2,14 +2,14 @@ package provider import ( "fmt" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" "strconv" "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakClientScope_basic(t *testing.T) { diff --git a/provider/resource_keycloak_openid_client_service_account_realm_role.go b/provider/resource_keycloak_openid_client_service_account_realm_role.go index d19ca8a88..adfd51f11 100644 --- a/provider/resource_keycloak_openid_client_service_account_realm_role.go +++ b/provider/resource_keycloak_openid_client_service_account_realm_role.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" ) diff --git a/provider/resource_keycloak_openid_client_service_account_realm_role_test.go b/provider/resource_keycloak_openid_client_service_account_realm_role_test.go index 6d2f73d3a..0d8695767 100644 --- a/provider/resource_keycloak_openid_client_service_account_realm_role_test.go +++ b/provider/resource_keycloak_openid_client_service_account_realm_role_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" "testing" ) diff --git a/provider/resource_keycloak_openid_client_service_account_role.go b/provider/resource_keycloak_openid_client_service_account_role.go index 36ef9df76..849684fb5 100644 --- a/provider/resource_keycloak_openid_client_service_account_role.go +++ b/provider/resource_keycloak_openid_client_service_account_role.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" ) diff --git a/provider/resource_keycloak_openid_client_service_account_role_test.go b/provider/resource_keycloak_openid_client_service_account_role_test.go index dccea2fb5..9e409724e 100644 --- a/provider/resource_keycloak_openid_client_service_account_role_test.go +++ b/provider/resource_keycloak_openid_client_service_account_role_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" "testing" ) diff --git a/provider/resource_keycloak_openid_client_test.go b/provider/resource_keycloak_openid_client_test.go index a0ad143dc..65d924f6f 100644 --- a/provider/resource_keycloak_openid_client_test.go +++ b/provider/resource_keycloak_openid_client_test.go @@ -2,7 +2,7 @@ package provider import ( "fmt" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" "regexp" "strings" "testing" @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenidClient_basic(t *testing.T) { diff --git a/provider/resource_keycloak_openid_full_name_protocol_mapper.go b/provider/resource_keycloak_openid_full_name_protocol_mapper.go index 448ff6286..3b85dfaf0 100644 --- a/provider/resource_keycloak_openid_full_name_protocol_mapper.go +++ b/provider/resource_keycloak_openid_full_name_protocol_mapper.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenIdFullNameProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_openid_full_name_protocol_mapper_test.go b/provider/resource_keycloak_openid_full_name_protocol_mapper_test.go index f31fb561d..6d6798c6d 100644 --- a/provider/resource_keycloak_openid_full_name_protocol_mapper_test.go +++ b/provider/resource_keycloak_openid_full_name_protocol_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "testing" ) diff --git a/provider/resource_keycloak_openid_group_membership_protocol_mapper.go b/provider/resource_keycloak_openid_group_membership_protocol_mapper.go index 79d126abd..6d7153949 100644 --- a/provider/resource_keycloak_openid_group_membership_protocol_mapper.go +++ b/provider/resource_keycloak_openid_group_membership_protocol_mapper.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenIdGroupMembershipProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_openid_group_membership_protocol_mapper_test.go b/provider/resource_keycloak_openid_group_membership_protocol_mapper_test.go index 73e728ec3..fda894342 100644 --- a/provider/resource_keycloak_openid_group_membership_protocol_mapper_test.go +++ b/provider/resource_keycloak_openid_group_membership_protocol_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "testing" ) diff --git a/provider/resource_keycloak_openid_hardcoded_claim_protocol_mapper.go b/provider/resource_keycloak_openid_hardcoded_claim_protocol_mapper.go index e05e99ada..df6ff8b9e 100644 --- a/provider/resource_keycloak_openid_hardcoded_claim_protocol_mapper.go +++ b/provider/resource_keycloak_openid_hardcoded_claim_protocol_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenIdHardcodedClaimProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_openid_hardcoded_claim_protocol_mapper_test.go b/provider/resource_keycloak_openid_hardcoded_claim_protocol_mapper_test.go index 0d573f07a..2eecd2058 100644 --- a/provider/resource_keycloak_openid_hardcoded_claim_protocol_mapper_test.go +++ b/provider/resource_keycloak_openid_hardcoded_claim_protocol_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_openid_hardcoded_role_protocol_mapper.go b/provider/resource_keycloak_openid_hardcoded_role_protocol_mapper.go index af00ee1fe..04f825109 100644 --- a/provider/resource_keycloak_openid_hardcoded_role_protocol_mapper.go +++ b/provider/resource_keycloak_openid_hardcoded_role_protocol_mapper.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenIdHardcodedRoleProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_openid_hardcoded_role_protocol_mapper_test.go b/provider/resource_keycloak_openid_hardcoded_role_protocol_mapper_test.go index ade4eb48e..6d1bbd453 100644 --- a/provider/resource_keycloak_openid_hardcoded_role_protocol_mapper_test.go +++ b/provider/resource_keycloak_openid_hardcoded_role_protocol_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "testing" ) diff --git a/provider/resource_keycloak_openid_script_protocol_mapper.go b/provider/resource_keycloak_openid_script_protocol_mapper.go index af99f79b4..9a79b57e9 100644 --- a/provider/resource_keycloak_openid_script_protocol_mapper.go +++ b/provider/resource_keycloak_openid_script_protocol_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenIdScriptProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_openid_script_protocol_mapper_test.go b/provider/resource_keycloak_openid_script_protocol_mapper_test.go index c8f171fa9..7de8c65ce 100644 --- a/provider/resource_keycloak_openid_script_protocol_mapper_test.go +++ b/provider/resource_keycloak_openid_script_protocol_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_openid_user_attribute_protocol_mapper.go b/provider/resource_keycloak_openid_user_attribute_protocol_mapper.go index 6878c63b6..062b14f40 100644 --- a/provider/resource_keycloak_openid_user_attribute_protocol_mapper.go +++ b/provider/resource_keycloak_openid_user_attribute_protocol_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenIdUserAttributeProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_openid_user_attribute_protocol_mapper_test.go b/provider/resource_keycloak_openid_user_attribute_protocol_mapper_test.go index 49c06e059..3bada251a 100644 --- a/provider/resource_keycloak_openid_user_attribute_protocol_mapper_test.go +++ b/provider/resource_keycloak_openid_user_attribute_protocol_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_openid_user_client_role_protocol_mapper.go b/provider/resource_keycloak_openid_user_client_role_protocol_mapper.go index 294912182..4e9148a8b 100644 --- a/provider/resource_keycloak_openid_user_client_role_protocol_mapper.go +++ b/provider/resource_keycloak_openid_user_client_role_protocol_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenIdUserClientRoleProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_openid_user_client_role_protocol_mapper_test.go b/provider/resource_keycloak_openid_user_client_role_protocol_mapper_test.go index e93a6a4f5..094aed5bf 100644 --- a/provider/resource_keycloak_openid_user_client_role_protocol_mapper_test.go +++ b/provider/resource_keycloak_openid_user_client_role_protocol_mapper_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenIdUserClientRoleProtocolMapper_basicClient(t *testing.T) { diff --git a/provider/resource_keycloak_openid_user_property_protocol_mapper.go b/provider/resource_keycloak_openid_user_property_protocol_mapper.go index 4fd68a36b..b3d06e435 100644 --- a/provider/resource_keycloak_openid_user_property_protocol_mapper.go +++ b/provider/resource_keycloak_openid_user_property_protocol_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenIdUserPropertyProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_openid_user_property_protocol_mapper_test.go b/provider/resource_keycloak_openid_user_property_protocol_mapper_test.go index 8be1fb423..7df3b3d61 100644 --- a/provider/resource_keycloak_openid_user_property_protocol_mapper_test.go +++ b/provider/resource_keycloak_openid_user_property_protocol_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_openid_user_realm_role_protocol_mapper.go b/provider/resource_keycloak_openid_user_realm_role_protocol_mapper.go index f5457dff0..c7ee06a84 100644 --- a/provider/resource_keycloak_openid_user_realm_role_protocol_mapper.go +++ b/provider/resource_keycloak_openid_user_realm_role_protocol_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenIdUserRealmRoleProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_openid_user_realm_role_protocol_mapper_test.go b/provider/resource_keycloak_openid_user_realm_role_protocol_mapper_test.go index 0a49f0091..db0b5f5bc 100644 --- a/provider/resource_keycloak_openid_user_realm_role_protocol_mapper_test.go +++ b/provider/resource_keycloak_openid_user_realm_role_protocol_mapper_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenIdUserRealmRoleProtocolMapper_basicClient(t *testing.T) { diff --git a/provider/resource_keycloak_openid_user_session_note_protocol_mapper.go b/provider/resource_keycloak_openid_user_session_note_protocol_mapper.go index 7af3c42c7..8c67b42c7 100644 --- a/provider/resource_keycloak_openid_user_session_note_protocol_mapper.go +++ b/provider/resource_keycloak_openid_user_session_note_protocol_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakOpenIdUserSessionNoteProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_openid_user_session_note_protocol_mapper_test.go b/provider/resource_keycloak_openid_user_session_note_protocol_mapper_test.go index f1bd03362..e03dd7550 100644 --- a/provider/resource_keycloak_openid_user_session_note_protocol_mapper_test.go +++ b/provider/resource_keycloak_openid_user_session_note_protocol_mapper_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakOpenIdUserSessionNoteProtocolMapper_basicClient(t *testing.T) { diff --git a/provider/resource_keycloak_realm.go b/provider/resource_keycloak_realm.go index cec86560b..7439296f0 100644 --- a/provider/resource_keycloak_realm.go +++ b/provider/resource_keycloak_realm.go @@ -5,8 +5,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" ) var ( diff --git a/provider/resource_keycloak_realm_events.go b/provider/resource_keycloak_realm_events.go index 602e3de1b..6fe9ecbf2 100644 --- a/provider/resource_keycloak_realm_events.go +++ b/provider/resource_keycloak_realm_events.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakRealmEvents() *schema.Resource { diff --git a/provider/resource_keycloak_realm_events_test.go b/provider/resource_keycloak_realm_events_test.go index 7d1f7a182..46bca6116 100644 --- a/provider/resource_keycloak_realm_events_test.go +++ b/provider/resource_keycloak_realm_events_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "testing" ) diff --git a/provider/resource_keycloak_realm_keystore_aes_generated.go b/provider/resource_keycloak_realm_keystore_aes_generated.go index 2adc6b5cf..08e9820c4 100644 --- a/provider/resource_keycloak_realm_keystore_aes_generated.go +++ b/provider/resource_keycloak_realm_keystore_aes_generated.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) var ( diff --git a/provider/resource_keycloak_realm_keystore_aes_generated_test.go b/provider/resource_keycloak_realm_keystore_aes_generated_test.go index 2ae7c1815..6f5e7c267 100644 --- a/provider/resource_keycloak_realm_keystore_aes_generated_test.go +++ b/provider/resource_keycloak_realm_keystore_aes_generated_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "strconv" "testing" diff --git a/provider/resource_keycloak_realm_keystore_ecdsa_generated.go b/provider/resource_keycloak_realm_keystore_ecdsa_generated.go index 1ee3022a1..2ac998d99 100644 --- a/provider/resource_keycloak_realm_keystore_ecdsa_generated.go +++ b/provider/resource_keycloak_realm_keystore_ecdsa_generated.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) var ( diff --git a/provider/resource_keycloak_realm_keystore_ecdsa_generated_test.go b/provider/resource_keycloak_realm_keystore_ecdsa_generated_test.go index 9acf7ec59..8e09b5ce8 100644 --- a/provider/resource_keycloak_realm_keystore_ecdsa_generated_test.go +++ b/provider/resource_keycloak_realm_keystore_ecdsa_generated_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "strconv" "testing" diff --git a/provider/resource_keycloak_realm_keystore_hmac_generated.go b/provider/resource_keycloak_realm_keystore_hmac_generated.go index 607095b67..f89ae2678 100644 --- a/provider/resource_keycloak_realm_keystore_hmac_generated.go +++ b/provider/resource_keycloak_realm_keystore_hmac_generated.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) var ( diff --git a/provider/resource_keycloak_realm_keystore_hmac_generated_test.go b/provider/resource_keycloak_realm_keystore_hmac_generated_test.go index f14e6d1a8..442b1211a 100644 --- a/provider/resource_keycloak_realm_keystore_hmac_generated_test.go +++ b/provider/resource_keycloak_realm_keystore_hmac_generated_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "strconv" "testing" diff --git a/provider/resource_keycloak_realm_keystore_java_keystore.go b/provider/resource_keycloak_realm_keystore_java_keystore.go index 9fb37b882..772a96a95 100644 --- a/provider/resource_keycloak_realm_keystore_java_keystore.go +++ b/provider/resource_keycloak_realm_keystore_java_keystore.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) var ( diff --git a/provider/resource_keycloak_realm_keystore_java_kyestore_test.go b/provider/resource_keycloak_realm_keystore_java_kyestore_test.go index 076f47207..da3b8c200 100644 --- a/provider/resource_keycloak_realm_keystore_java_kyestore_test.go +++ b/provider/resource_keycloak_realm_keystore_java_kyestore_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "strconv" "testing" diff --git a/provider/resource_keycloak_realm_keystore_rsa.go b/provider/resource_keycloak_realm_keystore_rsa.go index 5c1e5f803..79fac3587 100644 --- a/provider/resource_keycloak_realm_keystore_rsa.go +++ b/provider/resource_keycloak_realm_keystore_rsa.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) var ( diff --git a/provider/resource_keycloak_realm_keystore_rsa_generated.go b/provider/resource_keycloak_realm_keystore_rsa_generated.go index 0b230d4ea..5a7dc58c7 100644 --- a/provider/resource_keycloak_realm_keystore_rsa_generated.go +++ b/provider/resource_keycloak_realm_keystore_rsa_generated.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) var ( diff --git a/provider/resource_keycloak_realm_keystore_rsa_generated_test.go b/provider/resource_keycloak_realm_keystore_rsa_generated_test.go index ed9e3f959..eb8f2dd78 100644 --- a/provider/resource_keycloak_realm_keystore_rsa_generated_test.go +++ b/provider/resource_keycloak_realm_keystore_rsa_generated_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "strconv" "testing" diff --git a/provider/resource_keycloak_realm_keystore_rsa_test.go b/provider/resource_keycloak_realm_keystore_rsa_test.go index a17519d86..3aed33042 100644 --- a/provider/resource_keycloak_realm_keystore_rsa_test.go +++ b/provider/resource_keycloak_realm_keystore_rsa_test.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "log" "math/big" "regexp" diff --git a/provider/resource_keycloak_realm_test.go b/provider/resource_keycloak_realm_test.go index 78b0b5d21..454ad8e51 100644 --- a/provider/resource_keycloak_realm_test.go +++ b/provider/resource_keycloak_realm_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_realm_user_profile.go b/provider/resource_keycloak_realm_user_profile.go index b8ab597de..d7572387b 100644 --- a/provider/resource_keycloak_realm_user_profile.go +++ b/provider/resource_keycloak_realm_user_profile.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakRealmUserProfile() *schema.Resource { diff --git a/provider/resource_keycloak_realm_user_profile_test.go b/provider/resource_keycloak_realm_user_profile_test.go index 116e39dd3..4eeb3f074 100644 --- a/provider/resource_keycloak_realm_user_profile_test.go +++ b/provider/resource_keycloak_realm_user_profile_test.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakRealmUserProfile_featureDisabled(t *testing.T) { diff --git a/provider/resource_keycloak_required_action.go b/provider/resource_keycloak_required_action.go index c6c751496..f9ccce2c0 100644 --- a/provider/resource_keycloak_required_action.go +++ b/provider/resource_keycloak_required_action.go @@ -6,7 +6,7 @@ import ( "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" ) diff --git a/provider/resource_keycloak_role.go b/provider/resource_keycloak_role.go index 7fa1fd7e7..f87a89b47 100644 --- a/provider/resource_keycloak_role.go +++ b/provider/resource_keycloak_role.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakRole() *schema.Resource { diff --git a/provider/resource_keycloak_role_test.go b/provider/resource_keycloak_role_test.go index 942474465..8900d9c75 100644 --- a/provider/resource_keycloak_role_test.go +++ b/provider/resource_keycloak_role_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" "testing" ) diff --git a/provider/resource_keycloak_saml_client.go b/provider/resource_keycloak_saml_client.go index 9a629ff7d..de2cab85f 100644 --- a/provider/resource_keycloak_saml_client.go +++ b/provider/resource_keycloak_saml_client.go @@ -9,13 +9,13 @@ import ( "fmt" "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" "reflect" "strings" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) var ( diff --git a/provider/resource_keycloak_saml_client_default_scopes.go b/provider/resource_keycloak_saml_client_default_scopes.go index f589b1bd9..2c26e73f3 100644 --- a/provider/resource_keycloak_saml_client_default_scopes.go +++ b/provider/resource_keycloak_saml_client_default_scopes.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakSamlClientDefaultScopes() *schema.Resource { diff --git a/provider/resource_keycloak_saml_client_default_scopes_test.go b/provider/resource_keycloak_saml_client_default_scopes_test.go index 043f612f1..2156eb485 100644 --- a/provider/resource_keycloak_saml_client_default_scopes_test.go +++ b/provider/resource_keycloak_saml_client_default_scopes_test.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) // All saml clients in Keycloak will automatically have these scopes listed as "default client scopes". diff --git a/provider/resource_keycloak_saml_client_scope.go b/provider/resource_keycloak_saml_client_scope.go index f00aada73..14d57c201 100644 --- a/provider/resource_keycloak_saml_client_scope.go +++ b/provider/resource_keycloak_saml_client_scope.go @@ -9,7 +9,7 @@ import ( "strings" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakSamlClientScope() *schema.Resource { diff --git a/provider/resource_keycloak_saml_client_scope_test.go b/provider/resource_keycloak_saml_client_scope_test.go index 13b8ca548..e79dbb432 100644 --- a/provider/resource_keycloak_saml_client_scope_test.go +++ b/provider/resource_keycloak_saml_client_scope_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakSamlClientScope_basic(t *testing.T) { diff --git a/provider/resource_keycloak_saml_client_test.go b/provider/resource_keycloak_saml_client_test.go index d791b79ca..8a33d0e10 100644 --- a/provider/resource_keycloak_saml_client_test.go +++ b/provider/resource_keycloak_saml_client_test.go @@ -2,7 +2,7 @@ package provider import ( "fmt" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" "regexp" "strings" "testing" @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakSamlClient_basic(t *testing.T) { diff --git a/provider/resource_keycloak_saml_identity_provider.go b/provider/resource_keycloak_saml_identity_provider.go index 8ba06f9dd..5458f84df 100644 --- a/provider/resource_keycloak_saml_identity_provider.go +++ b/provider/resource_keycloak_saml_identity_provider.go @@ -4,8 +4,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" "github.com/imdario/mergo" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" ) var nameIdPolicyFormats = map[string]string{ diff --git a/provider/resource_keycloak_saml_identity_provider_test.go b/provider/resource_keycloak_saml_identity_provider_test.go index da302e628..0421f63cd 100644 --- a/provider/resource_keycloak_saml_identity_provider_test.go +++ b/provider/resource_keycloak_saml_identity_provider_test.go @@ -2,7 +2,7 @@ package provider import ( "fmt" - "github.com/mrparkers/terraform-provider-keycloak/keycloak/types" + "github.com/keycloak/terraform-provider-keycloak/keycloak/types" "regexp" "strconv" "testing" @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakSamlIdentityProvider_basic(t *testing.T) { diff --git a/provider/resource_keycloak_saml_script_protocol_mapper.go b/provider/resource_keycloak_saml_script_protocol_mapper.go index cac881ab2..fc3161627 100644 --- a/provider/resource_keycloak_saml_script_protocol_mapper.go +++ b/provider/resource_keycloak_saml_script_protocol_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakSamlScriptProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_saml_script_protocol_mapper_test.go b/provider/resource_keycloak_saml_script_protocol_mapper_test.go index e2be6df56..6406f2c8e 100644 --- a/provider/resource_keycloak_saml_script_protocol_mapper_test.go +++ b/provider/resource_keycloak_saml_script_protocol_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "testing" ) diff --git a/provider/resource_keycloak_saml_user_attribute_protocol_mapper.go b/provider/resource_keycloak_saml_user_attribute_protocol_mapper.go index b2e26dbeb..a11574da0 100644 --- a/provider/resource_keycloak_saml_user_attribute_protocol_mapper.go +++ b/provider/resource_keycloak_saml_user_attribute_protocol_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) var keycloakSamlUserAttributeProtocolMapperNameFormats = []string{"Basic", "URI Reference", "Unspecified"} diff --git a/provider/resource_keycloak_saml_user_attribute_protocol_mapper_test.go b/provider/resource_keycloak_saml_user_attribute_protocol_mapper_test.go index a0e759a7f..82f523f84 100644 --- a/provider/resource_keycloak_saml_user_attribute_protocol_mapper_test.go +++ b/provider/resource_keycloak_saml_user_attribute_protocol_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_saml_user_property_protocol_mapper.go b/provider/resource_keycloak_saml_user_property_protocol_mapper.go index 7fec08cf1..b3e4689dd 100644 --- a/provider/resource_keycloak_saml_user_property_protocol_mapper.go +++ b/provider/resource_keycloak_saml_user_property_protocol_mapper.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakSamlUserPropertyProtocolMapper() *schema.Resource { diff --git a/provider/resource_keycloak_saml_user_property_protocol_mapper_test.go b/provider/resource_keycloak_saml_user_property_protocol_mapper_test.go index 1e935ddbb..2d871e09a 100644 --- a/provider/resource_keycloak_saml_user_property_protocol_mapper_test.go +++ b/provider/resource_keycloak_saml_user_property_protocol_mapper_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_user.go b/provider/resource_keycloak_user.go index da04cd264..352b351b0 100644 --- a/provider/resource_keycloak_user.go +++ b/provider/resource_keycloak_user.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) const MULTIVALUE_ATTRIBUTE_SEPARATOR = "##" diff --git a/provider/resource_keycloak_user_groups.go b/provider/resource_keycloak_user_groups.go index ee22bbc44..cf1e10170 100644 --- a/provider/resource_keycloak_user_groups.go +++ b/provider/resource_keycloak_user_groups.go @@ -6,7 +6,7 @@ import ( "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" ) diff --git a/provider/resource_keycloak_user_groups_test.go b/provider/resource_keycloak_user_groups_test.go index ce2413be2..ff5a11f40 100644 --- a/provider/resource_keycloak_user_groups_test.go +++ b/provider/resource_keycloak_user_groups_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_user_roles.go b/provider/resource_keycloak_user_roles.go index a651ae01e..dccc0a5b1 100644 --- a/provider/resource_keycloak_user_roles.go +++ b/provider/resource_keycloak_user_roles.go @@ -6,7 +6,7 @@ import ( "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "strings" ) diff --git a/provider/resource_keycloak_user_roles_test.go b/provider/resource_keycloak_user_roles_test.go index bec6e194b..889db3fc9 100644 --- a/provider/resource_keycloak_user_roles_test.go +++ b/provider/resource_keycloak_user_roles_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "regexp" "testing" ) diff --git a/provider/resource_keycloak_user_template_importer_identity_provider_mapper.go b/provider/resource_keycloak_user_template_importer_identity_provider_mapper.go index d315bd353..28dc04620 100644 --- a/provider/resource_keycloak_user_template_importer_identity_provider_mapper.go +++ b/provider/resource_keycloak_user_template_importer_identity_provider_mapper.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakUserTemplateImporterIdentityProviderMapper() *schema.Resource { diff --git a/provider/resource_keycloak_user_template_importer_identity_provider_mapper_test.go b/provider/resource_keycloak_user_template_importer_identity_provider_mapper_test.go index 48102cde3..631f70bf2 100644 --- a/provider/resource_keycloak_user_template_importer_identity_provider_mapper_test.go +++ b/provider/resource_keycloak_user_template_importer_identity_provider_mapper_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakUserTemplateIdentityProviderMapper_basic(t *testing.T) { diff --git a/provider/resource_keycloak_user_test.go b/provider/resource_keycloak_user_test.go index d8cbe5e27..42b1587fd 100644 --- a/provider/resource_keycloak_user_test.go +++ b/provider/resource_keycloak_user_test.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" "io/ioutil" "net/http" "net/url" diff --git a/provider/resource_keycloak_users_permissions.go b/provider/resource_keycloak_users_permissions.go index 8d9f09e90..f0d9ba37a 100644 --- a/provider/resource_keycloak_users_permissions.go +++ b/provider/resource_keycloak_users_permissions.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func resourceKeycloakUsersPermissions() *schema.Resource { diff --git a/provider/resource_keycloak_users_permissions_test.go b/provider/resource_keycloak_users_permissions_test.go index df174c463..31912502e 100644 --- a/provider/resource_keycloak_users_permissions_test.go +++ b/provider/resource_keycloak_users_permissions_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func TestAccKeycloakUsersPermission_basic(t *testing.T) { diff --git a/provider/role_mapping_helpers.go b/provider/role_mapping_helpers.go index b29bbe1ce..8c19c4bf2 100644 --- a/provider/role_mapping_helpers.go +++ b/provider/role_mapping_helpers.go @@ -2,7 +2,7 @@ package provider import ( "context" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) // a struct that represents the "desired" state configured via terraform diff --git a/provider/test_utils.go b/provider/test_utils.go index fc1abca92..cc93939b9 100644 --- a/provider/test_utils.go +++ b/provider/test_utils.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func randomBool() bool { diff --git a/provider/utils.go b/provider/utils.go index d5501cec5..417aef012 100644 --- a/provider/utils.go +++ b/provider/utils.go @@ -7,7 +7,7 @@ import ( "time" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/mrparkers/terraform-provider-keycloak/keycloak" + "github.com/keycloak/terraform-provider-keycloak/keycloak" ) func keys(data map[string]string) []string {