AWS_REGION
A Claude Code environment variable, read out of the shipped bundle. It has been in the build since v2.1.138, including the newest one read.
What it is
Bedrock no longer refuses to start when no region or base URL is configured.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.228.
Presence across releases
| Releases | Reading | Declared type | Default |
|---|---|---|---|
| 2.1.245 – 2.1.250 5 releases | never mined | — | — |
| 2.1.160 – 2.1.243 75 releases | in the build | str | — |
| 2.1.138 – 2.1.159 20 releases | in the build | — | — |
A row reading never mined is a release with no archived bundle behind it. Nothing was read out of it, so nothing here says whether the name was in it. A declared type or a default is only ever what that release's own bundle stated.
Changelog entries naming it
-
v2.1.232A malformed AWS region env var is now ignored and reported
A malformed AWS region variable is now ignored, falling back to us-east-1.
named in this entry
-
v2.1.232Invalid AWS region environment values are reported instead of hidden
An invalid AWS_REGION is now reported as invalid rather than silently treated as default.
named in this entry
-
v2.1.232Invalid AWS region variable is called out by name
On Bedrock, an unusable AWS region variable is now named so you can fix or unset it.
named in this entry
-
v2.1.228Bedrock no longer fails when neither a region nor a base URL is set
Bedrock no longer refuses to start when no region or base URL is configured.
named in this entry
Documentation pages
- errors mentions it Claude Developer Platform
- claude-in-amazon-bedrock mentions it Claude Developer Platform
- claude-on-amazon-bedrock-legacy mentions it Claude Developer Platform
- claude-platform-on-aws mentions it Claude Developer Platform
- Claude Code on Amazon Bedrock mentions it Claude Code CLI
- Claude Code changelog mentions it Claude Code CLI
- Deploy Claude apps gateway on AWS mentions it Claude Code CLI
- Claude Code on Claude Platform on AWS mentions it Claude Code CLI
- Environment variables mentions it Claude Code CLI
- Use Claude Code GitHub Actions with cloud providers mentions it Claude Code CLI
- Claude Code GitLab CI/CD mentions it Claude Code CLI
- Use Claude for M365 with third-party platforms mentions it Claude Documentation
A reference table page is one whose own table defines this name, and it is where the description above came from. A page that mentions it carries the name somewhere in its text and may say nothing about it at all. Every page carrying it.
Names beside it
Every environment variable in the inventory starting aws, up to twelve of them.
AWS_ACCESS_KEY_IDNo description from anybody. 2.1.138
AWS_BEARER_TOKEN_BEDROCKAmazon Bedrock API key for authentication (see [Amazon Bedrock API keys](https://aws.amazon.com/blogs/machine-learning/accelerate-ai-development-with-amazon-bedrock-api-keys/)) 2.1.138
AWS_CONFIG_FILEAWS SSO profile logins resolve faster via a direct fast path, falling back if anything unusual is configured. 2.1.172
AWS_CONTAINER_CREDENTIALS_FULL_URINo description from anybody. 2.1.178
AWS_CONTAINER_CREDENTIALS_RELATIVE_URINo description from anybody. 2.1.178
AWS_DEFAULT_REGIONA malformed AWS region variable is now ignored, falling back to us-east-1. 2.1.138
AWS_ENDPOINT_URLNo description from anybody. 2.1.239
AWS_ENDPOINT_URL_STSNo description from anybody. 2.1.239
AWS_EXECUTION_ENVNo description from anybody. 2.1.138
AWS_LAMBDA_BENCHMARK_MODENo description from anybody. 2.1.138
AWS_LAMBDA_FUNCTION_NAMENo description from anybody. 2.1.138
AWS_LOGIN_CACHE_DIRECTORYNo description from anybody. 2.1.138
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the environment variable does. All environment variables.