[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_REGION is a required environment variable. Claude Code does not read from the .aws config 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 ~/.aws config files when AWS_REGION isn't set, matching AWS SDK precedence; /status shows 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_REGION is the preferred way to set the region. When it is unset, Claude Code falls back to the region configured in your ~/.aws config file (profile, default region, or SSO config), matching the AWS SDK credential chain. Run /status to 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.

View original on GitHub ↗