-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Problem (one or two sentences)
Expected to be able to add a custom ARN for aws-us-gov but roo code does not believe it is valid
Context (who is affected and when)
Happens when a user attempts to add a custom ARN for aws-us-gov
Reproduction steps
Roo Code VSCode Plugin v3.33.3 (windows)
Using AWS Provider with the settings in screenshot attached
Example Custom ARN:
arn:aws-us-gov:bedrock:us-gov-west-1:123456789012:inference-profile/us-gov.anthropic.claude-sonnet-4-5-20250929-v1:0
Expected result
Should accept the arn
Actual result
"Invalid ARN format. Please check the format requirements." and fails to run
Variations tried (optional)
Changing arn to arn:aws:bedrock... fails to actually resolve because the "-us-gov" is required by bedrock
ref: https://github.com/RooCodeInc/Roo-Code/blob/main/webview-ui/src/utils/validate.ts#L228C40-L228C49
(maybe more places too?)
App Version
v3.33.3
API Provider (optional)
AWS Bedrock
Model Used (optional)
us-gov.anthropic.claude-sonnet-4-5-20250929-v1:0
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status