repository: stop migration_mirror_interval planning an update every run #65
@@ -17,4 +17,9 @@ resource "gitea_repository" "this" {
|
|||||||
website = var.website
|
website = var.website
|
||||||
autodetect_manual_merge = var.autodetect_manual_merge
|
autodetect_manual_merge = var.autodetect_manual_merge
|
||||||
archive_on_destroy = true
|
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]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user