Apply Terraform state drift: 5+ merged PRs unapplied (3 alerts) #113
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#113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Lineage
plan-pal-e-platform→ Platform HardeningRepo
forgejo_admin/pal-e-platformUser Story
As a platform operator
I want merged Terraform changes applied to the live cluster
So that fixes actually take effect and the cluster matches IaC
Context
At least 5 merged PRs have not been applied to the live cluster, causing:
Root cause is likely CI clone failures (Issue #107). If Woodpecker can't clone, the apply-on-merge pipeline never runs. Manual run of the updated backup script passes — pal-e-postgres WALs fresh, woodpecker correctly skipped.
File Targets
terraform/main.tf— verify no unexpected driftterraform/network-policies.tf— postgres NP fix from PR #95Files NOT to touch:
Acceptance Criteria
tofu applysucceeds (manually or via CI)Test Expectations
tofu plan -lock=falseshows only expected changes (no surprises)kubectl get podmonitor -n postgresshows correct configcnpg-backup-verifyjob succeedsprobe_success{service="postgres"} == 1or TargetDown alert clearsConstraints
tofu apply -lock=falseas interimtofu planfirst to verify no unexpected state driftChecklist
tofu planreviewedtofu applysucceedsRelated
pal-e-platform— project boardScope Review: READY
Review note:
review-192-2026-03-18Scope is complete — all template sections present, both file targets verified in codebase, blocker Issue #107 is now closed. Agent can execute as written.
tofu planwill show drift from ~7 merged PRs (not just the 2 named), but acceptance criteria correctly require plan review before applyScope Review: READY
Review note:
review-192-2026-03-18Scope is complete and verified. All template sections present, both file targets confirmed in codebase, blocker Issue #107 is now closed.
terraform/network-policies.tfline 152 confirms PR #95 monitoring ingress mergedterraform/main.tfline 2265 confirms PR #93 backup verify fix merged