Manage cluster templates from CLI

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

Required role: Required role: EnvironmentCreator can create a shared resource and then assign users to it. The Owner of the shared resource can delete it.

  • Register a new cluster templates by pasting its content: cdp datahub create-cluster-template --cluster-template-name <value> --cluster-template-content <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>