Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.232 ·

A malformed AWS region env var is now ignored and reported

A malformed AWS region variable is now ignored, falling back to us-east-1.

You'll notice Bug Fixes
JSON All of v2.1.232
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
BedrockArea: what it touches
Bug FixesKind: in v2.1.232,
Bug FixesSection of the release
What

AWS_REGION and AWS_DEFAULT_REGION are checked against a region-shaped pattern before use. A value that fails the check is ignored and the fallback us-east-1 is used, where previously any non-empty value was passed through verbatim.

Details
  • The Bedrock status line says so: "(default — region env var invalid, ignored; fix or unset AWS_REGION / AWS_DEFAULT_REGION)".
  • The region resolver reports its source as env-invalid in that case.
Evidence

DGg = /^[a-z]{2,}(?:-[a-z0-9]+){0,4}$/i;

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundleAWS_REGIONAWS_DEFAULT_REGION
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up AWS_REGION, on Claude Code on Amazon Bedrock. * You only need to set `AWS_REGION` to override your AWS profile's region or when your profile has no region. Claude Code resolves the region in this order: amazon-bedrock see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up AWS_REGION, on Claude Code on Amazon Bedrock.

See this entry in the whole of v2.1.232 →

Feedback