ybm region

Query regions and instance types

Use the region resource to query cloud provider region information.

Syntax

Usage: ybm region [command] [flags]

Examples

List AWS regions:

ybm region list \
  --cloud-provider AWS

List AWS instance types in us-west-2:

ybm region instance list \
  --cloud-provider AWS \
  --region us-west-2

Commands

list

List the regions available for the specified cloud provider.

Flag Description
--cloud-provider Required. Cloud provider. AWS or GCP.

instance list

List the available instance types for the specified cloud provider and region.

Flag Description
--cloud-provider Required. Cloud provider. AWS or GCP.
--region Required. The region from which to fetch instance types.
--tier Type of cluster. Sandbox or Dedicated (default).
--show-disabled Whether to show disabled instance types. true (default) or false.