Unavailable regions should not show in --region
completion values in kafka create
#1460
Labels
--region
completion values in kafka create
#1460
Description
Version: 0.39.0
The user that I am logged in as can either create eval Kafka instances or standard ones. Not all regions are available for all instance types. In interactive mode unavailable regions are filtered out, but these still show up for completions.
Steps to reproduce
Run
rhoas kafka create
and selecteu-west
as your region, which is invalid. We should not show this as a valid value.Solution
The same function should be used in both scenarios to ensure data consistency.
Screenshots
The text was updated successfully, but these errors were encountered: