Cloudbreak CLI Reference
Also available as:

cluster create

Creates a new cluster based on a JSON template.

Required options

--cli-input-json [$VALUE] User provided file in JSON format


--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]


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