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

knife ec2 server create should terminate the EC2 instance if the command fails #670

Open
NimishaS opened this issue Aug 30, 2021 · 0 comments
Labels
Status: Untriaged An issue that has yet to be triaged. Type: Design Proposal Community survey of a proposal.

Comments

@NimishaS
Copy link


knife ec2 server create should terminate the EC2 instance if the command fails

Specification

knife ec2 server create command may fail due to various reasons after the server creation e.g.

  • if the runlist fails
  • due to insufficient permissions (if --sudo isn't given)
    etc. etc.

As a user, it was an overhead for me to delete the EC2 instance manually afterwards.
Automation tools e.g. terraform rolls back the previous steps if something goes wrong. It would be good to have a similar behavior in knife-plugins too. However the comparison with terraform is not quite appropriate.

It would be good to have this design in other knife tools as well e.g. knife-azure, knife-google etc

@NimishaS NimishaS added Status: Untriaged An issue that has yet to be triaged. Type: Design Proposal Community survey of a proposal. labels Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged. Type: Design Proposal Community survey of a proposal.
Projects
None yet
Development

No branches or pull requests

1 participant