Terraform Version
1.9.8
Provider Version
0.16.14
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
resource "sonarqube_qualitygate" "sonar_way_with_line_coverage" {
name = "SonarWay (C++/GCov Tuned Gate)"
is_default = false
condition {
metric = "new_technical_debt"
op = "GT"
threshold = "5"
}
condition {
metric = "new_blocker_violations"
op = "GT"
threshold = "0"
}
}
Expected Behavior
As the gate is deployed I should not expect changes, when running a terraform plan. For a plan with a single condition this works but when I add a second condition I constantly see changes when a new plan is executed. The conditions seems to swapped (see picture)
Actual Behavior
What actually happened?
The gate has been deployed, but after a second run, for example a plan the conditions are mixed up
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform plan (expect no changes)

Terraform Version
1.9.8
Provider Version
0.16.14
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
As the gate is deployed I should not expect changes, when running a terraform plan. For a plan with a single condition this works but when I add a second condition I constantly see changes when a new plan is executed. The conditions seems to swapped (see picture)
Actual Behavior
What actually happened?
The gate has been deployed, but after a second run, for example a plan the conditions are mixed up
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform applyterraform plan(expect no changes)