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

Rescuing ValidationError during tail following delete can lead to confusing message #45

Open
rlister opened this issue Dec 5, 2018 · 0 comments
Assignees

Comments

@rlister
Copy link
Owner

rlister commented Dec 5, 2018

$ stax foo delete
Really delete stack foo? y
2018-12-05 17:57:02 UTC  DELETE_IN_PROGRESS                   AWS::CloudFormation::Stack                foo       User Initiated
Stack [foo] does not exist

The does not exist is a little aggressive for an event which is the correct result of the user's intended action. It results from just printing the message for Aws::CloudFormation::Errors::ValidationError during the tail following delete.

That rescue could probably be smarter and check stack_status, printing a more "success!"-like message if DELETE_COMPLETE.

@rlister rlister self-assigned this Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant