-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat OpenStack Platform
2.393. openstack stack update
usage: openstack stack update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [-t <template>] [-e <environment>] [--pre-update <resource>] [--timeout <timeout>] [--rollback <value>] [--dry-run] [--parameter <key=value>] [--parameter-file <key=file>] [--existing] [--clear-parameter <parameter>] [--tags <tag1,tag2...>] [--wait] <stack>
Positional arguments
- <stack>
Name or ID of stack to update
Optional arguments
- -h, --help
show this help message and exit
- -t <template>, --template <template>
Path to the template
- -e <environment>, --environment <environment>
Path to the environment. Can be specified multiple
times
- --pre-update <resource>
Name of a resource to set a pre-update 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
- --timeout <timeout>
Stack update timeout in minutes
- --rollback <value>
Set rollback on update failure. Value "enabled" sets
rollback to enabled. Value "disabled" sets rollback to
disabled. Value "keep" uses the value of existing
stack to be updated (default)
- --dry-run
Do not actually perform the stack update, but show
what would be changed
- --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 value
would be the content of the file
- --existing
Re-use the template, parameters and environment of the
current stack. If the template argument is omitted
then the existing template is used. If no
--environment is specified then the existing
environment is used. Parameters specified in
--parameter will patch over the existing values in the
current stack. Parameters omitted will keep the
existing values
- --clear-parameter <parameter>
Remove the parameters from the set of parameters of
current stack for the stack-update. The default value
in the template will be used. This can be specified
multiple times
- --tags <tag1,tag2...>
An updated list of tags to associate with the stack
- --wait
Wait until stack goes to UPDATE_COMPLETE or
UPDATE_FAILED