2.367. openstack stack create


usage: openstack stack create [-h] [-f {json,shell,table,value,yaml}]
                              [-c COLUMN] [--max-width <integer>] [--noindent]
                              [--prefix PREFIX] [-e <environment>]
                              [--timeout <timeout>] [--pre-create <resource>]
                              [--enable-rollback] [--parameter <key=value>]
                              [--parameter-file <key=file>] [--wait]
                              [--tags <tag1,tag2...>] [--dry-run] -t
                              <template>
                              <stack-name>
Copy to Clipboard Toggle word wrap
Create a stack.

Positional arguments

<stack-name>


        Name of the stack to create

Optional arguments

-h, --help


        show this help message and exit

-e <environment>, --environment <environment>


      Path to the environment. Can be specified multiple
      times

--timeout <timeout>


        Stack creating timeout in minutes

--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

--enable-rollback


        Enable rollback on create/update failure

--parameter <key=value>


      Parameter values used to create the stack. This can be
      specified multiple times

--parameter-file <key=file>


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

--wait


        Wait until stack goes to CREATE_COMPLETE or
      CREATE_FAILED

--tags <tag1,tag2...>


      A list of tags to associate with the stack

--dry-run


        Do not actually perform the stack create, but show
      what would be created

-t <template>, --template <template>


      Path to the template

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