此内容没有您所选择的语言版本。

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

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat