Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Feature] Add an upsert flag on the client #978

Open
boris-smidt-klarrio opened this issue Jul 8, 2024 · 0 comments
Open

[Feature] Add an upsert flag on the client #978

boris-smidt-klarrio opened this issue Jul 8, 2024 · 0 comments

Comments

@boris-smidt-klarrio
Copy link

Currently the client only has an import flag to import existing clients but when a client was created then the import has to be enabled.
But when the import is enabled then the client will never be created even when somebody deleted it manually.

As an improvement i suggest to add an 'upsert' or 'adopt' flag. When enabled both the of the branches should be tried in the client part of the code.

https://github.com/mrparkers/terraform-provider-keycloak/blob/master/provider/resource_keycloak_openid_client.go#L530-L554

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant