Remove woodpecker module and fix branch protection dependency #10
Reference in New Issue
Block a user
Delete Branch "benvin/remove-woodpecker-module"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
woodpecker_repositorymodule and Woodpecker provider — repos are managed outside Terraformremovedblock withdestroy = falseto cleanly drop 10 woodpecker state entries without destroyingmodule.teamtobranch_protectiondepends_onto prevent race where branch protection references a team that hasn't been created yetlifecycle { ignore_changes = [permission] }to team resource to work around provider bug where Gitea API returnsnonebut the provider rejects it on writeTest plan
make planshows 0 to add, 0 to change, 0 to destroy, 10 to forgetmake applysucceeds and drops woodpecker state entriesmake planshows no changes (after removing theremovedblock and woodpecker provider in a follow-up)