jdamata / terraform-provider-sonarqube

Terraform provider for managing Sonarqube configuration
GNU General Public License v3.0
62 stars 54 forks source link

Update external identity and provider for a non local user #120

Closed gilfthde closed 1 year ago

gilfthde commented 1 year ago

This PR adds a new resource called sonarqube_user_external_identity that can be used to update the external identity (identifier of a user used by an authentication provider) and the authentication provider to use for a specific user.

Please note that the Sonarqube API does not expose the current settings of this for a user. Therefore the resource maintains this only in the state.

Suggestions to improve my code are very welcome as I'm not an experienced Go developer.

jdamata commented 1 year ago

Thanks for the in depth test cases, makes me much more comfortable approving this after seeing the empty read/delete methods.