jdamata / terraform-provider-sonarqube

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

Add function for updating project's visibility #72

Closed ruriky closed 2 years ago

ruriky commented 2 years ago

Added a new function "resourceSonarqubeProjectUpdate" which uses Sonarqube's api/projects/update_visibility API for updating project's visibility setting.

This might be the first time I'm writing (copy/pasting) Go so basic mistakes are expected. All comments are appreciated.

Fixes https://github.com/jdamata/terraform-provider-sonarqube/issues/71

ruriky commented 2 years ago

I wonder if the acceptance tests failed because the newly added tests printed a plan. Anyway, I removed the test step which run terraform plan.

jdamata commented 2 years ago

Thanks for the PR! Please also update the documentation

jdamata commented 2 years ago

Thanks for the PR! Please also update the documentation

Just realized we don't need any new docs