docs: How routing works between Transit Gateway and Cloud WAN - #23
Merged
pablo19sc merged 1 commit intoSep 1, 2026
Merged
Conversation
…Cloud WAN peering
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The
3-transit_gatewaypattern showed how to build the Transit Gateway peering but never explained route selection across it. A reader could produce a correct Cloud WAN policy on top of a route-table layout that leaks between environments, and nothing in the repository would catch it.This adds a "How routing works between Transit Gateway and Cloud WAN" section to the pattern README covering: the peering being dynamic (BGP) with segmentation coming from policy-based routing controlled by the route table attachments; route table attachments extending a segment and a route table into each other (no association or propagation to configure); a pairing matrix of which route-table-to-segment combinations exchange routes; and a callout on blackhole scope and longest prefix match. The SKILLS.md routing table and llms.txt annotation are updated so agents reach the new section.
One deliberate inference, flagged as such in the text: two route tables of the same Transit Gateway attached to the same segment do not exchange routes with each other through Cloud WAN. The behaviour is stated, but AWS documentation does not name the mechanism — the section says it is "most likely" standard BGP loop prevention (both route tables speak from the same Transit Gateway ASN, and a BGP speaker rejects routes carrying its own ASN in the AS_PATH). Every other behavioural claim is cited inline to AWS documentation or an AWS Networking & Content Delivery blog.
Where is the change?
infra/— a deployable infrastructure patternpolicy/— a policy capability page or its snippetsSKILLS.md— agent knowledge or generator logicChecklist for every change
pre-commit run --all-filespasses locally (see CONTRIBUTING.md).:reason). (Docs-only change — no IaC touched, no findings, no suppressions.)If the change is in
infra/infra/README.mdand theSKILLS.mdinfrastructure selector reflect this change, and the tags the IaC applies still match what the baseline policy'sattachment-policiesexpect. (Pattern catalog entries unchanged and still accurate;llms.txtannotation extended; tags untouched.)If the change is in
SKILLS.mdinfra/andpolicy/. (Anchor verified withlychee --include-fragments.)SKILLS.mdand a representative question or generation request — and its behaviour matched the intent. Describe the pilot under Testing.Testing
Statically validated only — no deployment, since no IaC or policy documents changed.
pre-commit run --all-filespasses, including the lychee link check with the new section anchor. The new prose was additionally scanned for stray identifiers: the only digits are in existing file paths, with no account IDs, ASNs, or CIDRs introduced.Agent pilot not yet run (checkbox left unchecked). Suggested pilot before merge: give an agent the updated
SKILLS.mdand ask "how can I segment my traffic between Transit Gateway and Cloud WAN?" — it should route to the new README section and answer from the policy-table/route-table-attachment model rather than improvising.