Skip to content

fix(postgresflex): fix state drift when migrating from v2 to v3 - #1632

Merged
SerseusWasTaken merged 3 commits into
mainfrom
fix/fix-state-drift-during-postgres-migration
Jul 30, 2026
Merged

fix(postgresflex): fix state drift when migrating from v2 to v3#1632
SerseusWasTaken merged 3 commits into
mainfrom
fix/fix-state-drift-during-postgres-migration

Conversation

@SerseusWasTaken

@SerseusWasTaken SerseusWasTaken commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Description

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see examples/ directory)
  • Docs are up-to-date: make generate-docs (will be checked by CI)
  • Unit tests got implemented or updated
  • Acceptance tests got implemented or updated (see e.g. here)
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@SerseusWasTaken
SerseusWasTaken requested a review from a team as a code owner July 30, 2026 08:45
@SerseusWasTaken
SerseusWasTaken force-pushed the fix/fix-state-drift-during-postgres-migration branch from 389d871 to 6f99f16 Compare July 30, 2026 09:38
@SerseusWasTaken

Copy link
Copy Markdown
Contributor Author

We should release stackitcloud/stackit-cli#1505 first before releasing this fix

Comment thread stackit/internal/services/postgresflex/instance/resource.go Outdated
@github-actions

Copy link
Copy Markdown

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/postgresflex/instance 28.00% (ø)
github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/sqlserverflex/instance 33.91% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/postgresflex/instance/resource.go 33.18% (ø) 422 140 282
github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/sqlserverflex/instance/resource.go 37.61% (ø) 468 176 292

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@SerseusWasTaken
SerseusWasTaken merged commit b17abe1 into main Jul 30, 2026
3 checks passed
@SerseusWasTaken
SerseusWasTaken deleted the fix/fix-state-drift-during-postgres-migration branch July 30, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants