Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

10.42. heat stack-preview

usage: heat stack-preview [-f <FILE>] [-e <FILE or URL>] [-u <URL>] [-o <URL>]
                          [-t <TIMEOUT>] [-r]
                          [-P <KEY1=VALUE1;KEY2=VALUE2...>] [-Pf <KEY=FILE>]
                          [--tags <TAG1,TAG2>]
                          <STACK_NAME>
Preview the stack.

Positional arguments

<STACK_NAME>


        Name of the stack to preview.

Optional arguments

-f <FILE>, --template-file <FILE>


      Path to the template.

-e <FILE or URL>, --environment-file <FILE or URL>


      Path to the environment, it can be specified multiple
      times.

-u <URL>, --template-url <URL>


      URL of template.

-o <URL>, --template-object <URL>


      URL to retrieve template object (e.g. from swift)

-t <TIMEOUT>, --timeout <TIMEOUT>


      Stack creation timeout in minutes. This is only used
      during validation in preview.

-r, --enable-rollback


      Enable rollback on failure. This option is not used
      during preview and exists only for symmetry with
      stack-create.

-P <KEY1=VALUE1;KEY2=VALUE2...>, --parameters <KEY1=VALUE1;KEY2=VALUE2...>


      Parameter values used to preview the stack. This can
      be specified multiple times, or once with parameters
      separated by semicolon.

-Pf <KEY=FILE>, --parameter-file <KEY=FILE>


      Parameter values from file used to create the stack.
      This can be specified multiple times. Parameter value
      would be the content of the file

--tags <TAG1,TAG2> A


        list of tags to associate with the stack.