policies: allow terraform-git to delete the gitea config seed for taint recovery #104

Merged
benvin merged 1 commits from benvin/gitea-kv-delete into master 2026-07-27 23:36:54 +10:00
Owner

terraform-git's apply (pipeline 108) still fails: pipeline 107 actually wrote the seed but the post-create metadata read 403'd, so terraform tainted the resource — recovery is replace (delete+create), and delete was deliberately not granted. Withholding delete doesn't provide the write-once property anyway (that's lifecycle ignore_changes in terraform-git); it just breaks taint recovery and destroy.

  • add delete on the kv data path for the gitea config seed
  • add delete on the matching kv metadata path (full destroy support)

After merge+apply, restart the terraform-git apply once more — it will replace the tainted seed and go green, unblocking #101.

terraform-git's apply (pipeline 108) still fails: pipeline 107 actually wrote the seed but the post-create metadata read 403'd, so terraform tainted the resource — recovery is replace (delete+create), and delete was deliberately not granted. Withholding delete doesn't provide the write-once property anyway (that's lifecycle ignore_changes in terraform-git); it just breaks taint recovery and destroy. - add delete on the kv data path for the gitea config seed - add delete on the matching kv metadata path (full destroy support) After merge+apply, restart the terraform-git apply once more — it will replace the tainted seed and go green, unblocking #101.
unkinben added 1 commit 2026-07-27 23:26:20 +10:00
policies: allow terraform-git to delete the gitea config seed for taint recovery
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
1f060bd9b0
Claude-Session: https://claude.ai/code/session_015ur3i7D2azsMAWTSVABApv
benvin merged commit bf9c785281 into master 2026-07-27 23:36:54 +10:00
benvin deleted branch benvin/gitea-kv-delete 2026-07-27 23:36:54 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/terraform-vault#104