After a network team change, services in VPC A can no longer reach the database in VPC B over the Transit Gateway; security groups are unchanged.
Likely causes → Routing broke somewhere along the path: a TGW route table association or propagation was removed, a VPC subnet route to the TGW was replaced, return traffic takes a different path (asymmetric routing through an inspection VPC or firewall), or a newly attached VPC with an overlapping CIDR is attracting the traffic.
Diagnose →
aws ec2 describe-route-tables --filters Name=vpc-id,Values=$VPC_A --query 'RouteTables[].Routes'
aws ec2 search-transit-gateway-routes --transit-gateway-route-table-id $TGW_RT \
--filters Name=type,Values=static,propagated
Run Reachability Analyzer from the app ENI to the DB ENI; it shows the exact hop where the path breaks. VPC Flow Logs with REJECT or no return packets show asymmetry.
Fix → Restore the missing route, association or propagation, and fix the return path so both directions traverse the same inspection point.
Prevent → Manage TGW and routing in Terraform with review, keep a global IPAM to prevent overlapping CIDRs, and run Reachability Analyzer checks for critical paths after every network change.