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.
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.