jdamata / terraform-provider-sonarqube

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

change API endpoint for reading project-gate association #196

Closed felixlut closed 1 year ago

felixlut commented 1 year ago

This fixes a bug where the sonarqube_qualitygate_project_association couldn't handle the same gate being connected to more than 100 projects at once. This is because the original API endpoint the read function was using wasn't paginated.

This change moves the read to use one single call to the project instead, and reads which gate it's associated to that way

felixlut commented 1 year ago

@jdamata please review this as soon as possible. I have a workaround in place for this currently, but it's a slightly hacky one. Would like to go back to using a proper release of this provider ASAP!