jdamata / terraform-provider-sonarqube

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

Support to configure a permission_template as the default one #96

Closed notarock closed 1 year ago

notarock commented 1 year ago

Hi there,

I am using this provider to provision quality gates, roles, permissions, etc. I have created a permission template which enforces RBAC and I would like to set it as the default permission template to apply to new projects. I have searched the doc/code and did not find any way to do this as of right now.

Terraform Version

$ terraform -v

Terraform v1.1.3
on linux_amd64
...
+ provider registry.terraform.io/jdamata/sonarqube v0.15.0

Affected Resource(s)

Expected Behavior

Being able to set a permission template as the default one to apply to new projects when they are created.

Actual Behavior

No signs of being able to use the permissions/set_default_template api endpoint.

jdamata commented 1 year ago

Fixed in https://github.com/jdamata/terraform-provider-sonarqube/pull/102