Skip to content

Amazon Bedrock GovCloud ARNs rejected (aws-us-gov partition not supported) #4817

@lalvarez-mdrc

Description

@lalvarez-mdrc

Plugin Type

VSCode Extension

App Version

v4.141.2

Description

Kilo Code does not accept valid Amazon Bedrock ARNs in AWS GovCloud due to client-side validation rejecting the required aws-us-gov partition.

When configuring Amazon Bedrock as the API provider and selecting “Use custom ARN…”, Kilo only accepts ARNs starting with:

arn:aws:bedrock:...

However, GovCloud requires the partition:

arn:aws-us-gov:bedrock:...

This prevents Kilo from being used with Bedrock in GovCloud, even when the ARN is valid and accepted by AWS.

Reproduction steps

Steps to Reproduce

  1. Open Kilo Code settings
  2. Set API Provider to Amazon Bedrock
  3. Set AWS Region to us-gov-west-1
  4. Choose Use custom ARN…
  5. Enter a valid GovCloud inference profile ARN, for example:
arn:aws-us-gov:bedrock:us-gov-west-1:123456789012:
inference-profile/us-gov.anthropic.claude-sonnet-4-5-20250929-v1:0
  1. Observe validation error:
    Invalid ARN format. Please check the format requirements.

Provider

AWS Bedrock

Model

Use Custom Arn

System Information

OS: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Intake

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions