Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to not rollback failed stacks #2744

Merged
merged 3 commits into from
Oct 16, 2020
Merged

Conversation

michaelbeaumont
Copy link
Contributor

@michaelbeaumont michaelbeaumont commented Oct 15, 2020

Description

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the userdocs directory)
  • Manually tested
  • Added labels for change area (e.g. area/nodegroup), target version (e.g. version/0.12.0) and kind (e.g. kind/improvement)
  • Make sure the title of the PR is a good description that can go into the release notes

Comment on lines 91 to 93
if c.provider.CloudFormationOnFailureDoNothing() {
input.OnFailure = aws.String(cloudformation.OnFailureDoNothing)
}
Copy link
Collaborator

@cPu1 cPu1 Oct 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternatively:

Suggested change
if c.provider.CloudFormationOnFailureDoNothing() {
input.OnFailure = aws.String(cloudformation.OnFailureDoNothing)
}
input.DisableRollback = aws.Bool(c.provider.CloudFormationOnFailureDoNothing())

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true, switched it over and just renamed to --cfn-disable-rollback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants