What
A new environment variable lets Bedrock users choose which regional inference-profile prefix models resolve to. Accepted values are us, eu, apac, jp, au and global. It is added to the environment passthrough sets used for sandboxed and spawned processes, so child processes inherit it.
Details
- An older seven-entry region list including
us-govis kept separately, used for parsing Bedrock hostnames rather than for this variable. - Setting a prefix that cannot be confirmed, or models that resolve to a different prefix, produce warnings (see below).
Usage
export ANTHROPIC_BEDROCK_REGION_PREFIX=euEvidence
ANTHROPIC_BEDROCK_REGION_PREFIX
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundleANTHROPIC_BEDROCK_REGION_PREFIX
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's release notes agree
Added ANTHROPIC_BEDROCK_REGION_PREFIX env var for Bedrock to prefer a specific cross-region inference profile over the AWS_REGION-derived…
The name it cites is new in this build
New in this build: ANTHROPIC_BEDROCK_REGION_PREFIX