Cloudbreak CLI Reference
Also available as:
PDF

cluster create

Creates a new cluster based on a JSON template.

Required options

--cli-input-json <value> User provided file in JSON format

Options

--name <value> Name for the cluster

--description <value> Description of resource

--input-json-param-password <value> Password for the cluster and Ambari

--wait Wait for the operation to finish. No argument is required

--server <value> Cloudbreak server address [$CB_SERVER_ADDRESS]

--username <value> Cloudbreak user name (e-mail address) [$CB_USER_NAME]

--password <value> Cloudbreak password [$CB_PASSWORD]

--workspace <value> Name of the workspace where to create the resource

--profile <value> Selects a config profile to use [$CB_PROFILE]

--auth-type <value> Authentication method to use. Values: oauth2, basic [$CB_AUTH_TYPE]

Examples

Creates a cluster called “testcluster” based on a local JSON file called “mytemplate.json” located in the /Users/test/Documents directory:

cb cluster create --name testcluster --cli-input-json /Users/test/Documents/mytemplate.json