dpm stack create

Command Overview

Create a new stack.


Required Parameters

parameter data form default value description
-t --template String None Specify the path of the template file
name String None Specify the name of the stack

Optional Parameters

parameter data form default value description
-e --environment String None Specify the path to the environment setting file.
--timeout Integer None Specify the timeout value for stack creation.
--enable-rollback - - If some resource’s creation fails in the process of stack creation, delete this failed resource as well as other successfully created resources of the stack. (Please note that there is a possibility of failure depending on the situation.)
--parameter String(key=value) - If you are using parameters in the template, specify their values in key=value format.
--wait - - After creating the stack, the prompt will not return back until creation process completes. During this time, events of the stack will be shown in real time.
--tags - - Add a tag for the stack.
--dry-run - - Run the process in test mode. Internal resources and the stack will not be created. It can be used to do the prediction work as Stack Preview does.

Usage Examples

ecl dpm stack create -t <template> <name>

$ ecl dpm stack create -t test-template.yaml Test-STack
+---------------------+--------------------------------------+
| Field               | Value                                |
+---------------------+--------------------------------------+
| id                  | ac708cb4-1268-4e5a-b26f-3e621ca88cd9 |
| stack_name          | Test-Stack                           |
| description         | DPM Sample Template.                 |
| creation_time       | 2017-02-17T06:58:39                  |
| stack_status        | CREATE_IN_PROGRESS                   |
| stack_status_reason |                                      |
+---------------------+--------------------------------------+