Skip to content

Commit dc64642

Browse files
authored
docs(bedrock): note AWS_REGION environment variable (#15)
1 parent 6bfd0a6 commit dc64642

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/user-guide/concepts/model-providers/amazon-bedrock.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The model access request is typically processed immediately. Once approved, the
5858

5959
For more details, see the [Amazon Bedrock documentation on modifying model access](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access-modify.html).
6060

61-
#### Setting Up AWS Credentials
61+
#### Setting Up AWS Credentials & Region
6262

6363
Strands uses [boto3](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html) (the AWS SDK for Python) to make calls to Amazon Bedrock. Boto3 has its own credential resolution system that determines which credentials to use when making requests to AWS.
6464

@@ -74,6 +74,7 @@ aws configure
7474
export AWS_ACCESS_KEY_ID=your_access_key
7575
export AWS_SECRET_ACCESS_KEY=your_secret_key
7676
export AWS_SESSION_TOKEN=your_session_token # If using temporary credentials
77+
export AWS_REGION="us-west-2" # Used if a custom Boto3 Session is not provided
7778
```
7879

7980
**Option 3: Custom Boto3 Session**

0 commit comments

Comments
 (0)