Aws-cli: Add --rollback-configuration to cloudformation deploy

Created on 9 Nov 2018  路  11Comments  路  Source: aws/aws-cli

I think cloudformation deploy should have --rollback-configuration just like create-stack and update-stack.

cloudformation packagdeploy customization feature-request help wanted

Most helpful comment

I think it needs --disable-rollback as well as --rollback-configuration !

All 11 comments

@jaakkotuosa - Thank you for reaching out. I am labeling this issue as a feature request pending further review. Please review the Rollback Configuration for our other SDKs and advise if this is how you'd like the feature to work.

@sanathkr - what are your thoughts?

Good idea! Should be a feature request. Happy to take PRs for this.

I think it needs --disable-rollback as well as --rollback-configuration !

@max-allan-surevine - Thanks adding feedback. Both are good ideas.

@justnance Could AWS prioritise it?

@justnance

I am waiting for this feature as well, it should be three options and same as create-stack.

[--disable-rollback | --no-disable-rollback]
[--rollback-configuration ]

And add [--disable-rollback | --no-disable-rollback] should be quicker and first to be implemented.

The reason why we need this option is, with two commands create-stack and update-stack, we can manage the cloudformation stack, but it is not convenience.

With only one command deploy, we can deploy a new stack or update an exist stack.

Any progress on this feature?

By the way, could you give some hints on which files will be updated in this feature? I did search the sample about create-stack, but no luck.

There is no ETA or update yet. PRs are welcome.

another vote for this feature as it facilitates root-cause-analysis of failed pipelines of failed stacks.

I attempted to create a PR for this, but it appears the create_change_set API client functionality does not support this. What can we do, as a community, to encourage that this be included in the API?

I attempted to create a PR for this, but it appears the create_change_set API client functionality does not support this. What can we do, as a community, to encourage that this be included in the API?

https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html
Says :

RollbackConfiguration
The rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
Type: RollbackConfiguration object
Required: No

Same as on create stack :

RollbackConfiguration
The rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
Type: RollbackConfiguration object
Required: No

The change set does lack disable-rollback though. On creation and execution, which is weird!

Any updates on that? Need this feature badly

Was this page helpful?
0 / 5 - 0 ratings