docs(infra): record kebab-only WO tables after PascalCase destroy

This commit is contained in:
Adam Moussa 2026-08-14 11:32:55 -04:00
parent 817c86d58a
commit 03926f56db
No known key found for this signature in database
3 changed files with 8 additions and 13 deletions

View file

@ -272,15 +272,13 @@ The `purchase-orders` DynamoDB table is **owned by this repo's Terraform config*
### `work-orders` and `work-order-comments` tables (owned here)
> **PLAT-11 cutover complete 2026-08-07.** Live physical names are kebab-case.
> PascalCase `WorkOrders` / `WorkOrderComments` retained until ≥24h soak ends
> (**ready 2026-08-08T18:16Z**), then destroyed under HCP. GitHub #24 superseded
> (issues disabled on this repo); track [PLAT-11](https://seahaven.atlassian.net/browse/PLAT-11).
> **PLAT-11 cutover complete 2026-08-07; PascalCase tables destroyed in Phase 3.**
> Live physical names are kebab-case. GitHub #24 superseded (issues disabled on
> this repo); track [PLAT-11](https://seahaven.atlassian.net/browse/PLAT-11).
> freeze cutover in [`docs/plat-11/cutover-runbook.md`](docs/plat-11/cutover-runbook.md).
> After cutover, this section will name the kebab tables.
> Cutover record: [`docs/plat-11/cutover-runbook.md`](docs/plat-11/cutover-runbook.md).
Both tables are **owned by this repo's Terraform config** (`terraform/wo_ddb.tf`, retain lifecycle):
Both tables are **owned by this repo's Terraform config** (`terraform/wo_ddb.tf`, `prevent_destroy` on kebab tables):
- `work-orders` — PK `work_order_id` (S).
- `work-order-comments` — PK `work_order_id` (S), SK `comment_id` (S).

View file

@ -81,14 +81,12 @@ Record `FREEZE_START` (UTC ISO-8601) before step 1.
```
And/or one SHOC reconciliation pass against procurement-api.
## Phase 3 — Decommission (after ≥24h on kebab; ready **2026-08-08T18:16Z**)
## Phase 3 — Decommission (DONE after ≥24h kebab soak; ready was **2026-08-08T18:16Z**)
1. Lift `prevent_destroy` on **legacy** `work_orders` / `work_order_comments` only.
1. Lift `prevent_destroy` on **legacy** `work_orders` / `work_order_comments` only. Done (#176).
2. Remove legacy table resources + their import blocks + PascalCase alarm imports.
3. HCP apply (destroys PascalCase tables).
4. Update README + Confluence Architecture Map; note GitHub #24 superseded on PLAT-11.
5. Close PLAT-11 acceptance criteria.
## Rollback (before decommission)
Point env + ESMs back at PascalCase tables via TF; HCP apply. Legacy tables still hold data until Phase 3.
Rollback of Phase 3 is not available: PascalCase tables are gone. Live traffic is kebab-only.

View file

@ -17,7 +17,6 @@ import {
id = "pending-site-review"
}
# PLAT-11 kebab tables — created out-of-band then imported after HCP CreateTable
# IAM pin widened (hcptf-procurement-ingest lacked kebab ARNs on first apply).
import {