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 back missing fast fail states to create/update cfn waiters #1056

Merged
merged 3 commits into from
Oct 19, 2016

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Oct 19, 2016

Add back ROLLBACK_COMPLETE as a terminal failure state

StackCreateComplete can transition to a ROLLBACK_COMPLETE
when waiting for stack creation to complete. The only action
upon reaching this state is to delete the stack.

Add back UPDATE_ROLLBACK_COMPLETE as fast fail case in waiter

For the update stack complete waiter, a failed update can result in
an UPDATE_ROLLEBACK_COMPLETE. The unfortunate part here you
cannot use this waiter until you call UpdateStack, which is the
only cfn waiter that has this restriction. This means a previous
UpateStack failed, calling the StackUpdateComplete waiter
before calling UpdateStack will immediately trigger the fast
fail case.

cc @kyleknap @JordonPhillips

StackCreateComplete can transition to a ROLLBACK_COMPLETE
when waiting for stack creation to complete.  The only action
upon reaching this state is to delete the stack.
For the update stack complete waiter, a failed update can result in
an UPDATE_ROLLEBACK_COMPLETE.  The unfortunate part here you
cannot use this waiter until you call UpdateStack, which is the
only cfn waiter that has this restriction.  This means a previous
UpateStack failed, calling the StackUpdateComplete waiter
before calling UpdateStack will immediately trigger the fast
fail case.
@jamesls jamesls added the pr/needs-review This PR needs a review from a member of the team. label Oct 19, 2016
@codecov-io
Copy link

codecov-io commented Oct 19, 2016

Current coverage is 97.57% (diff: 100%)

Merging #1056 into develop will not change coverage

@@            develop      #1056   diff @@
==========================================
  Files            44         44          
  Lines          6917       6917          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           6749       6749          
  Misses          168        168          
  Partials          0          0          

Powered by Codecov. Last update 2edd1d6...800325e

Copy link
Contributor

@kyleknap kyleknap left a comment

Choose a reason for hiding this comment

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

🚢

@jamesls jamesls merged commit 800325e into boto:develop Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/needs-review This PR needs a review from a member of the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants