Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] (nit) wording wrong in "create db" command with incompatible region/cloud #171

Open
tatu-at-datastax opened this issue Apr 16, 2024 · 0 comments
Milestone

Comments

@tatu-at-datastax
Copy link

Describe the bug

When trying to create a DB with incompatible cloud/region, error is:

[INFO]  You are using a non-production environment 'TEST' 
REGION OK
[ERROR] Region 'us-east-1' is valid for cloud 'aws'. (InvalidRegionException)
[ERROR] Try 'astra help <your_command>' to get help
[INFO]  Run astra db list-regions-serverless or astra streaming list-regions to list available regions.

where 'is valid should instead be is not valid (or is invalid).

To Reproduce

astra db create DB_NAME -c aws --region us-east-1  --config TEST

Expected behavior

Error message would indicate there is a problem; right now it's mildly confusing.

Screenshots

Desktop (please complete the following information):
MacOS 12.7.4

Additional context

N/A

@clun clun added this to the 0.6 milestone May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants