diff --git a/modules/gitea_instance/modules/repository/main.tf b/modules/gitea_instance/modules/repository/main.tf index b714315..f0b6073 100644 --- a/modules/gitea_instance/modules/repository/main.tf +++ b/modules/gitea_instance/modules/repository/main.tf @@ -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] + } }