Set ANTHROPIC_BEDROCK_REGION_PREFIX to pick which regional inference profile your Bedrock models resolve to.
What's wrong with this entry?
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.
- 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).
export ANTHROPIC_BEDROCK_REGION_PREFIX=euANTHROPIC_BEDROCK_REGION_PREFIX
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.228
Bedrock no longer fails when neither a region nor a base URL is set
Both mention bedrock region
-
v2.1.232
Invalid AWS region environment values are reported instead of hidden
Both mention bedrock region
-
v2.1.232
Invalid AWS region variable is called out by name
Both mention bedrock region