10.39. heat stack-create


usage: heat stack-create [-f <FILE>] [-e <FILE or URL>]
                         [--pre-create <RESOURCE>] [-u <URL>] [-o <URL>]
                         [-c <TIMEOUT>] [-t <TIMEOUT>] [-r]
                         [-P <KEY1=VALUE1;KEY2=VALUE2...>] [-Pf <KEY=FILE>]
                         [--poll [SECONDS]] [--tags <TAG1,TAG2>]
                         <STACK_NAME>
Copy to Clipboard Toggle word wrap
Create the stack.

Positional arguments

<STACK_NAME>


        Name of the stack to create.

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.

--pre-create <RESOURCE>


      Name of a resource to set a pre-create hook to.
      Resources in nested stacks can be set using slash as a
      separator: nested_stack/another/my_resource. You can
      use wildcards to match multiple stacks or resources:
      nested_stack/an*/*_resource. This 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).

-c <TIMEOUT>, --create-timeout <TIMEOUT>


      Stack creation timeout in minutes. DEPRECATED use
      --timeout instead.

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


      Stack creation timeout in minutes.

-r, --enable-rollback


      Enable rollback on create/update failure.

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


      Parameter values used to create the stack. This can be
      specified multiple times, or once with parameters
      separated by a 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

--poll [SECONDS]


        Poll and report events until stack completes. Optional
      poll interval in seconds can be provided as argument,
      default 5.

--tags <TAG1,TAG2> A


        list of tags to associate with the stack.

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat