repository: stop migration_mirror_interval planning an update every run #65

Merged
benvin merged 1 commits from benvin/branch-protection-whitelist-drift into main 2026-08-11 21:25:28 +10:00
@@ -17,4 +17,9 @@ resource "gitea_repository" "this" {
website = var.website
autodetect_manual_merge = var.autodetect_manual_merge
archive_on_destroy = true
lifecycle {
# migration_mirror_interval defaults to "8h0m0s" but Gitea returns an empty MirrorInterval for non-mirror repos, so the read-back never matches and plans a spurious update every run; it is a migration-only knob with no drift to track here.
ignore_changes = [migration_mirror_interval]
}
}