If the SonarQube project is marked for replacement, the sonarqub_github_binding should be marked for replacement, too.
Actual Behavior
The binding isn't marked and the apply action runs to completion. Upon the next plan action, the sonarqube_github_binding resource raises an error, stating the target project isnt bound to any github integration.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
modify the name attribute
terraform apply - the project is replaced
terraform plan - the binding resource raises an error, because it cannot find the project it was bound to.
When Terraform recreates a sonarqube project, any attached github bindings are not recreated automatically, causing an error on the next plan action.
Terraform Version
1.8.4
Affected Resource(s)
sonarqube_project
sonarqube_github_binding
Terraform Configuration Files
Expected Behavior
If the SonarQube project is marked for replacement, the sonarqub_github_binding should be marked for replacement, too.
Actual Behavior
The binding isn't marked and the apply action runs to completion. Upon the next
plan
action, the sonarqube_github_binding resource raises an error, stating the target project isnt bound to any github integration.Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
name
attributeterraform apply
- the project is replacedterraform plan
- the binding resource raises an error, because it cannot find the project it was bound to.