ibm-cloud-docs / vpc

Documentation repository for vpc
7 stars 50 forks source link

instance-group-create examples are incorrect #209

Closed sterlingbates closed 1 month ago

sterlingbates commented 3 months ago

https://cloud.ibm.com/docs/vpc?topic=vpc-bulk-provisioning&interface=cli#creating-instance-group-cli-bulk

--subnet-ids parameter should be --subnets

USAGE:
    ibmcloud is instance-group-create INSTANCE_GROUP_NAME --instance-template INSTANCE_TEMPLATE --subnets SUBNETS [--membership-count MEMBERSHIP_COUNT] [--lb LB --lb-pool LB_POOL --application-port APPLICATION_PORT] [--vpc VPC] [--resource-group-id RESOURCE_GROUP_ID | --resource-group-name RESOURCE_GROUP_NAME] [--output JSON] [-q, --quiet]

To that end, the CLI usage is actually wrong internally as it even suggests the wrong parameter in the examples:

ibmcloud is instance-group-create group-name --instance-template 72251a2e-d6c5-42b4-97b0-b5f8e8d1f479 --subnet 72b27b5c-f4b0-48bb-b954-5becc7c1dcb3,72b27b5c-f4b0-48bb-b954-5becc7c1dcb3
vickmuir commented 1 month ago

Thank you for your feedback, the command example will be updated shortly.

vickmuir commented 1 month ago

https://cloud.ibm.com/docs/vpc?topic=vpc-bulk-provisioning has been updated.