From 03926f56dbb6d91462cae2a7c090f0793725e260 Mon Sep 17 00:00:00 2001 From: Adam Moussa Date: Fri, 14 Aug 2026 11:32:55 -0400 Subject: [PATCH] docs(infra): record kebab-only WO tables after PascalCase destroy --- README.md | 12 +++++------- docs/plat-11/cutover-runbook.md | 8 +++----- terraform/imports.tf | 1 - 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 4cb3fec..3995d5a 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/docs/plat-11/cutover-runbook.md b/docs/plat-11/cutover-runbook.md index 104760d..2fa8129 100644 --- a/docs/plat-11/cutover-runbook.md +++ b/docs/plat-11/cutover-runbook.md @@ -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. diff --git a/terraform/imports.tf b/terraform/imports.tf index e33ff72..503ec26 100644 --- a/terraform/imports.tf +++ b/terraform/imports.tf @@ -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 {