Remove orphan Litestream infrastructure from Terraform #31
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform!31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "30-remove-litestream-infra"
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
Remove 4 orphan MinIO Litestream resources from
terraform/main.tf. Litestream was replaced by CNPG for Postgres backups; these resources have been unused since the migration.Changes
terraform/main.tf— Removedminio_s3_bucket.litestream_backups,minio_iam_user.litestream,minio_iam_policy.litestream_write,minio_iam_user_policy_attachment.litestream, and the# --- MinIO Litestream Service Account ---comment. Theassetsbucket and# --- MinIO Buckets ---comment are preserved.Test Plan
tofu fmt -checkpasses (verified)tofu validaterequires provider init (not available in worktree) -- run manuallytofu planshould show exactly 4 destroys (the 4 removed resources) -- run manually before applyReview Checklist
tofu fmt -checkpassestofu validatepasses (needs provider init)tofu planshows exactly 4 destroys (manual verification needed)Related
plan-2026-02-26-tf-modularize-postgres(Epilogue item 11)PR #31 Review
BLOCKERS
None.
NITS
None.
SOP COMPLIANCE
30-remove-litestream-infrareferences issue #30)plan-2026-02-26-tf-modularize-postgres, Epilogue item 11)Closes #30present in PR bodyREVIEW NOTES
minio_s3_bucket.litestream_backups,minio_iam_user.litestream,minio_iam_policy.litestream_write,minio_iam_user_policy_attachment.litestream# --- MinIO Litestream Service Account ---comment removed# --- MinIO Buckets ---section header preserved (line 788)minio_s3_bucket.assetsresource preserved (line 790)VERDICT: APPROVED