github jdamata/terraform-provider-sonarqube v0.16.24

latest release: v0.16.25
4 hours ago

Bug-fix release: resources that disappear outside Terraform no longer break plans, quality gate conditions stop showing a diff on every plan, and sonarqube_project_main_branch works on 9.9 LTS. No new resources; no breaking changes.

Upgrading

sonarqube_qualitygate: existing state stores conditions in alphabetical order, so the first plan after upgrading shows the conditions reordered once. Applying it changes nothing in SonarQube (conditions are matched by metric) and writes the configuration order to state. Plans are clean from then on.

Fixes

  • fix: keep quality gate conditions in configuration order by @Cesarsk in #400 — condition is a list compared by position, but the provider sorted what it read back alphabetically, so any gate whose conditions weren't written in alphabetical order showed a diff on every plan; fixes #282
  • fix: let ALM settings and bindings disappear without breaking plans by @Cesarsk in #399 — sonarqube_alm_{azure,bitbucket,github,gitlab} and sonarqube_{azure,bitbucket,github,gitlab}_binding now drop from state when removed in the UI, so the next plan recreates them, and destroy no longer fails on an object that is already gone; fixes #260
  • fix: tolerate missing profiles in sonarqube_qualityprofile_project_association by @Cesarsk in #398 — same behaviour when the profile or the association is removed outside Terraform; also adapts the tests to SonarQube 2026.5 commercial editions, which replaced the built-in Sonar way quality profile with Sonar way core / extended / comprehensive
  • feat: allow sonarqube_project_main_branch to set an existing branch as main by @JF3Env in #355 — if the configured branch already exists it becomes the main branch (set_main, SonarQube 10.2+); otherwise the current main branch is renamed as before. On servers older than 10.2, making a different existing branch the main branch returns a clear error instead of Unknown url
  • fix: skip the quality profile association tests when TF_ACC is unset by @Cesarsk in #401 — go test ./... runs again without a SonarQube server, and the CI build job now runs it so this can't regress unnoticed

CI

  • ci: remove tfplugindocs generate workflow by @Cesarsk in #405 — the docs check already fails PRs with out-of-date docs; contributors run make docs themselves
  • ci: set explicit least-privilege token permissions by @Cesarsk in #406
  • build(deps): bump actions/checkout from 4 to 7 by @dependabot in #403
  • build(deps): bump github/codeql-action from 3 to 4 by @dependabot in #404
  • build(deps): bump crazy-max/ghaction-import-gpg from 6.1.0 to 7.0.0 by @dependabot in #402

No Go module changes. x/* stay held at the last Go 1.25-compatible versions and grpc at 1.83.2, as in v0.16.23.

Full Changelog: v0.16.23...v0.16.24

Don't miss a new terraform-provider-sonarqube release

NewReleases is sending notifications on new releases.