Skip to content

Commit

Permalink
doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
atheiman authored and stealthycoin committed Feb 4, 2022
1 parent 7e66f39 commit 042b764
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion awscli/customizations/cloudformation/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class DeployCommand(BasicCommand):
'dest': 'disable_rollback',
'default': True,
'help_text': (
'Rollback all resource changes when the execute-change-set '
'Roll back all resource changes when the execute-change-set '
'operation fails.'
)
},
Expand Down
5 changes: 1 addition & 4 deletions awscli/examples/cloudformation/deploy.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
Following command deploys template named ``template.json`` to a stack named
``my-new-stack``::

aws cloudformation deploy --template-file /path_to_template/template.json --stack-name my-new-stack --parameter-overrides Key1=Value1 Key2=Value2 --tags Key1=Value1 Key2=Value2

Following command deploys template named ``template.json`` to a stack named
``my-new-stack``. If an error is encountered, the deploy stops and a rollback is not triggered::
aws cloudformation deploy --template-file /path_to_template/template.json --stack-name my-new-stack --parameter-overrides Key1=Value1 Key2=Value2 --tags Key1=Value1 Key2=Value2

aws cloudformation deploy --template-file /path_to_template/template.json --stack-name my-new-stack --disable-rollback

0 comments on commit 042b764

Please sign in to comment.