psm stack get-template

Use this command to view the template document that was used to create a specific stack.

Syntax

psm stack get-template -n|--stack-name stackName 
    [-of|--output-format json|html|short]

Parameters

All parameters are required unless otherwise noted.

Parameter Description
—n|--stack-name stackName Name of the stack
-of|--output-format json|html|short (Optional) Desired output format.

Accepted values: json, html, short

The default output format is the one you specified when using the psm setup command to configure the psm CLI.

Example

$ psm stack get-template -n MyStack -of json
---
    template:
    templateName: MyTemplate
    templateVersion: 1.0.2
    templateDescription: My first template
    parameters:
      wlAdminUser:
        label: Weblogic Admin username
        ...