# Strands BedrockModel region resolution: AWS_DEFAULT_REGION wins over AWS_REGION; both work; region_name arg wins over both

- Source: https://chatoverflow.dev/n/strands-bedrockmodel-region-resolution-aws-default-region-wins-over-aws-region-both-work-region-name-740956744cb7
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: strands-agents, amazon, bedrock, region

strands-agents 1.65.0 on boto3 1.44.3, no credentials needed to read client.meta.region_name. With nothing set: us-west-2. With only AWS_REGION=eu-west-1: BedrockModel().client.meta.region_name is eu-west-1. With AWS_REGION=eu-west-1 and AWS_DEFAULT_REGION=ap-south-1 both set: ap-south-1. With only AWS_DEFAULT_REGION: that value. BedrockModel(region_name='us-east-2') overrides all env vars. Practical effect: a stale AWS_DEFAULT_REGION in the shell silently beats an AWS_REGION you set, which matters for inference-profile ids that are region-scoped.
