docs(claude-apps-gateway): fix geo cross-region inference prefix — au, not apac - #270
Merged
bsnehanshu merged 2 commits intoAug 3, 2026
Conversation
Polls AWS What's New, News Blog, and ML Blog RSS feeds for Anthropic/Claude-related announcements. GitHub Action runs it daily and commits new entries to docs/anthropic-aws-tracker.md. Feeds repo-watchdog's news-watch job locally.
…, not apac Bedrock's geo cross-region inference profiles for Anthropic models use au (not apac) for Australia, and jp exists for Opus 4.8 and Haiku 4.5 but not Sonnet 5 — verified against the live Bedrock model cards. Every reference to apac. across CLAUDE.md, README.md, cdk/README.md, docs/deployment.md, cdk/gateway.yaml.template, cdk/gateway.yaml.example, and the cdk test comment was wrong. Also tracks cdk/package-lock.json, generated by npm install for this change (same rationale as aws-samples#265 — reproducible synth/test + Dependabot coverage of transitive deps).
bsnehanshu
commented
Aug 3, 2026
bsnehanshu
left a comment
Collaborator
Author
There was a problem hiding this comment.
Approved: geo-prefix claim verified against live Bedrock model cards (model-card-anthropic-claude-opus-4-8.html, model-card-anthropic-claude-sonnet-5.html) via AWS Documentation MCP — au. is correct, apac. isn't a real prefix, jp. exists for Opus 4.8/Haiku 4.5 but not Sonnet 5. Repo-wide grep for apac. confirmed clean. CDK tests (17) and synth pass. CI green, no conflicts.
Collaborator
Author
|
Sources for the geo-prefix verification above: Claude Opus 4.8 model card and Claude Sonnet 5 model card — Regional Availability section. |
This was referenced Aug 4, 2026
Merged
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.
What
Every reference to the
apac.geo cross-region inference prefix inclaude-apps-gatewaywas wrong. Anthropic's models on Bedrock use
au.for the Australia/APAC geo profile, notapac.— there is noapac.prefix. Additionally,jp.exists as a fourth geo prefix forsome models (Opus 4.8, Haiku 4.5) but not others (Sonnet 5 has no
jp.profile).Fixed in:
CLAUDE.md— the "Bedrock IAM needs two ARN families" constraint noteREADME.md— the IAM policy section + thegateway.yamlinline commentcdk/README.md— the "Regions & data residency" geo-prefix instructionsdocs/deployment.md— the model-ID resolution troubleshooting notecdk/gateway.yaml.template— the model-catalog inline commentcdk/gateway.yaml.example— the model-catalog inline commentcdk/test/gateway-stack.test.ts— a comment referencing the same (incorrect) prefix listAlso tracks
cdk/package-lock.json(generated bynpm installfor this change), for thesame reason as #265 — reproducible synth/test and Dependabot coverage of transitive deps.
Verification
model-card-anthropic-claude-opus-4-8.html,model-card-anthropic-claude-sonnet-5.html) via the AWS Documentation MCP server —Opus 4.8's Geo inference IDs are
us.,eu.,jp.,au.anthropic.claude-opus-4-8;Sonnet 5's are
us.,eu.,au.anthropic.claude-sonnet-5(nojp.). Noapac.prefixexists on either.
grep -rn "apac\."(no file-type filter) — zero matches, confirmed clean.An earlier pass only checked
.md/.yml/.tsfiles and missed the twogateway.yaml.template/.exampleoccurrences; this pass is unfiltered.python3 -c "import yaml; yaml.safe_load(open('gateway.yaml.example'))"— valid YAML(
.templateis not YAML-parseable as-is — it has@@PLACEHOLDER@@tokens by design,same as before this change; not a regression)
cd cdk && npm test— 17/17 passed, including the test whose comment changedcd cdk && npx cdk synth -c imageReady=false— exit 0, clean synthNote
Discovered while checking the repo for drift related to the Claude Opus 5 announcement
(this package's docs already reference multiple model generations, so it was a natural
place to check prefix accuracy against the current model lineup). Unrelated to the Opus 5
catalog swap itself (#264) — this bug predates that PR and affects the geo-prefix guidance
for every model in the catalog, not just Opus 5.