azavea / majorkirby

Puts cloudformation stacks into motion
Apache License 2.0
1 stars 1 forks source link

After waiting for a stack to delete, launch the new stack #10

Open kshepard opened 9 years ago

kshepard commented 9 years ago

I frequently find myself in the situation where I delete a stack and am twiddling my thumbs for 5-10 minutes while a stack is being deleted before I can launch a new one. It would be cool if I could run the command to launch the new stack and have it automatically detect when the old stack is successfully deleted, and then launch the new one. Right now if I try this, it does correctly identify that the existing stack has a status of "DELETE_IN_PROGRESS", but once the stack becomes deleted, boto gets an error because that stack no longer exists, and the program exits.