elastic / elastic/cli

fix: invalid --region-id should name list-regions

Offen
#653 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
cloud enhancement
Vorherrschende Sprache
TypeScript
Sterne
41
Forks
24
Ø Merge
1 T. 3 Std.
Gemergte PRs (30 T.)
56

Beschreibung

Create requires `--region-id` copied from docs or from `elastic cloud serverless regions list-regions`. A typo comes back as a raw 400.

On create (and hosted `create-deployment` if the body is a region error): append `elastic cloud serverless regions list-regions` (or the hosted equivalent). Do not preflight the region list in MVP.

Acceptance: create with `--region-id not-a-region` mentions `list-regions` on stderr. `--json` includes `error.hint`.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start at the create command's handling of region errors and the hosted create-deployment path, using the issue's invalid --region-id example to locate both flows. Verify that human-readable stderr mentions list-regions and that --json exposes error.hint, without adding a region preflight.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
api, cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
75/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.