Manage cluster templates from CLI

You can manage cluster templates from CLI using cdp datahub commands.

  • Register a new cluster templates by pasting its content: cdp datahub create-cluster-template --cluster-template-name <value> --blueprint-content <value>
  • Register a new cluster templates by providing a path to an input file: cdp datahub create-cluster-template --cluster-template-name <value> --blueprint-source-url <value>
  • List all available cluster templates: cdp datahub list-cluster-templates
  • Describe a specific cluster templates: cdp datahub describe-cluster-template --cluster-template-name <value>
  • Delete one or more existing cluster templates: cdp datahub delete-cluster-templates --cluster-template-name <value>