jdamata / terraform-provider-sonarqube

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

[Feature] data "sonarqube_user" use EMAIL as a filter #255

Open gudge25 opened 5 months ago

gudge25 commented 5 months ago

hello

data "sonarqube_user" "user" {
  login_name = "terraform-test"
}

does not allow to search based on email but in Sonar API it is possible

изображение

CURL example curl -u API_KEY: https://sonarqube/api/users/search?q=user@example.com

can it be added to terraform ? Regards

gudge25 commented 5 months ago

maybe we can swithcn to use q instead of ps in users search ? image