[DOCS] Bedrock setup page claims `AWS_REGION` is required and `~/.aws` is not read; v2.1.172 reads region from `~/.aws` when `AWS_REGION` is unset
Open 💬 0 comments Opened Jun 10, 2026 by coygeek
Documentation Type
Incorrect/outdated documentation
Documentation Location
https://code.claude.com/docs/en/amazon-bedrock
Section/Topic
"3. Configure Claude Code" — the "keep the following in mind" bullet about AWS_REGION
Current Documentation
*AWS_REGIONis a required environment variable. Claude Code does not read from the.awsconfig file for this setting.
What's Wrong or Missing?
The v2.1.172 release notes ship new behavior:
Amazon Bedrock now reads the AWS region from~/.awsconfig files whenAWS_REGIONisn't set, matching AWS SDK precedence;/statusshows where the region came from
The doc still says the opposite (AWS_REGION is required, .aws is not read).
Suggested Improvement
Replace the bullet with:
*AWS_REGIONis the preferred way to set the region. When it is unset, Claude Code falls back to the region configured in your~/.awsconfig file (profile,defaultregion, or SSO config), matching the AWS SDK credential chain. Run/statusto see which source Claude Code picked.
Impact
High - Prevents users from using a feature
Additional Context
Version: v2.1.172. Users on Bedrock who relied only on ~/.aws (no AWS_REGION export) used to hit region errors; the new behavior removes that friction, but the current doc text still warns them away from it.