[BUG] Claude Code Not Switching to AWS Bedrock
Resolved 💬 6 comments Opened Aug 12, 2025 by mzagaja Closed Aug 12, 2025
Environment
- Platform (select one):
- [ ] Anthropic API
- [x] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.76 (Claude Code)
- Operating System: macOS 15.6
- Terminal: Panic Prompt / Panic Nova + fish shell
Bug Description
Claude Code Will Not Switch to AWS Bedrock
Steps to Reproduce
mzagaja@TED-MBP-MZAGAJA ~/D/ai-reference> claude --version
1.0.76 (Claude Code)
mzagaja@TED-MBP-MZAGAJA ~/D/ai-reference> echo $CLAUDE_CODE_USE_BEDROCK
1
mzagaja@TED-MBP-MZAGAJA ~/D/ai-reference> echo $AWS_REGION
us-east-1
mzagaja@TED-MBP-MZAGAJA ~/D/ai-reference> claude -p 'Are you using AWS bedrock?'
No, I'm running through Anthropic's Claude API, not AWS Bedrock. Claude Code does support AWS Bedrock integration if you want to configure it to use Bedrock instead.
Expected Behavior
I expected Claude Code to use AWS Bedrock after set CLAUDE_CODE_USE_BEDROCK 1.
Actual Behavior
Claude Code used my Anthropic account.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗