Skip to content

feat(BREV-9100): add --region flag to brev create and brev search#393

Draft
hakhandelwal11 wants to merge 1 commit into
mainfrom
BREV-9100/add-region-flag-to-brev-create
Draft

feat(BREV-9100): add --region flag to brev create and brev search#393
hakhandelwal11 wants to merge 1 commit into
mainfrom
BREV-9100/add-region-flag-to-brev-create

Conversation

@hakhandelwal11
Copy link
Copy Markdown
Contributor

  • Adds -r, --region flag to brev create for targeting a specific region/location when launching an instance. The value flows through to
    cwOptions.Location on the create request.
  • Adds -r, --region flag to brev search (gpu and cpu) for filtering catalog results by region. Matching is case-insensitive substring
    against both the primary Location and AvailableLocations.
  • Exposes region and available_regions in the brev search --json payload so users can discover valid regions.

@hakhandelwal11 hakhandelwal11 self-assigned this May 19, 2026
@hakhandelwal11 hakhandelwal11 requested a review from a team as a code owner May 19, 2026 11:27
@hakhandelwal11 hakhandelwal11 marked this pull request as draft May 19, 2026 11:27
Memory string `json:"memory"`
RAMInGB float64 `json:"ram_gb"`
Arch string `json:"arch"`
Region string `json:"region,omitempty"`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is there a single region alongside the available regions?

@theFong
Copy link
Copy Markdown
Member

theFong commented May 19, 2026

what QA have we done?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants