|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
Cancels a stack update that is currently in progress (with state UPDATE_IN_PROGRESS). The stack will be rolled back, reverting the configuration of all resources updated up to that point to their configuration before the update.
stack name| -s
The name or ID of the stack. You can specify the stack name by itself, or preface it with either the
-s switches. Any of these forms is equivalent.
$ cfn-cancel-update-stack example-stack
Cancel the stack update without prompting.
Required: No. Default is to prompt before canceling the stack.
$ cfn-cancel-update-stack example-stack --force
cfn-cancel-update-stack returns no output.
If the command is successful, the stack will be rolled back to its configuration before the update and its state will be set to UPDATE_ROLLBACK_COMPLETE.