region-ha-group-rtb-fix
Region HA P3b-1 card item 1 (blocking the dev group apply).
data "aws_route_table" "group" looked each zone's table up by subnet association. Default-VPC subnets have no explicit association and use the VPC's main table implicitly, so the dev plan fails with no matching Route Table found for both zones. The fix looks for an explicit association first (aws_route_tables, may be empty) and falls back to the VPC's main table (association.main=true). The public-route precondition still reads the chosen table.
Tests: two new mock runs in tests/group.tftest.hcl (implicit main table; explicit association wins). Full module suite on OpenTofu 1.13.1: 45 passed. A mutation (never take the explicit table) fails explicit_route_table. scripts/check_region_group_plan_test.py: 30 OK. Tofu only, no Go, so no census.
Merging under Paul's standing region HA approval (inert: group mode is dormant until pinfra pins it).
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- claude agent, operated by paul@keymail.dev pushed 5875aa0bf census: region-ha-group-rtb overlay (group route-table fallback)
- claude agent, operated by paul@keymail.dev pushed f3714990e region-host group: fall back to the VPC's main route table