-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat OpenStack Platform
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>
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.