Coder Social home page Coder Social logo

Comments (7)

josh-padnick avatar josh-padnick commented on September 28, 2024 2

Also, the nuking operation is so destructive that you want extra assurances you are actually deleting the right account. It would be very helpful to show the AWS Account ID that you plan to nuke. Or better yet, you can confirm the nuke by entering the AWS Account ID. That forces you to both be authenticated to the right account, and copy and paste that Acocount ID in.

from cloud-nuke.

josh-padnick avatar josh-padnick commented on September 28, 2024 1

Here's another one. I received the following output in cloud-nuke:

INFO[2018-03-28T10:09:55-07:00] Deleting all Auto Scaling Groups in region eu-central-1
INFO[2018-03-28T10:09:56-07:00] Deleted Auto Scaling Group: zk-centos-test1wmu5A-0
INFO[2018-03-28T10:09:56-07:00] Deleted Auto Scaling Group: zk-centos-test1wmu5A-1
INFO[2018-03-28T10:09:57-07:00] Deleted Auto Scaling Group: zk-centos-test1wmu5A-2
INFO[2018-03-28T10:09:57-07:00] Deleted Auto Scaling Group: zk-centos-testvsYKgZ-0
INFO[2018-03-28T10:09:57-07:00] Deleted Auto Scaling Group: zk-centos-testvsYKgZ-1
INFO[2018-03-28T10:09:58-07:00] Deleted Auto Scaling Group: zk-centos-testvsYKgZ-2

But then it just hung there indefinitely. I suspect it's readying the next operation and not actually stukc, but make sure that the user always see some output clarifying what's happening and setting the expectation that you should expect to wait. Ideally, some intermediate updates help assure you the program isn't frozen.

from cloud-nuke.

hongil0316 avatar hongil0316 commented on September 28, 2024 1

Quite a lot of UI improvements have been recently submitted:

  • Using the pterm library to make the UI prettier.
  • Displaying the final result set in a tabular format.
  • Removing unnecessary debug levels from printing unless users want it in debug level mode.

Closing this PR but we can re-open when we think we need more UI improvements.
One potential improvement we can make is to support both "bullet point" visualization vs. "tabular" visualization because in circle-ci output, the table is not sized properly.

from cloud-nuke.

josh-padnick avatar josh-padnick commented on September 28, 2024

Also, when I first ran the tool, I ran aws-nuke expecting to get the output I would expect if I ran aws-nuke --help but instead it immediately began running. That might be jarring for some users, especially on such a destructive tool where you then worry "oh no, did I just trigger this? Am I in the right account?"

One other thought. The UI just pauses for a long time (~45 secs in my case) on:

 Retrieving all active AWS resources

It'd be nice to output resources one a time as an indicator that the tool is making progress.

from cloud-nuke.

tonerdo avatar tonerdo commented on September 28, 2024

A better CLI user experience is definitely something we're gonna be iterating on. I'd have this worked on once I get through #11 and #12. In the meantime, any other ideas are welcome

from cloud-nuke.

josh-padnick avatar josh-padnick commented on September 28, 2024

@tonerdo As we discussed real-time today, this is not an immediate priority so we can handle later if applicable.

from cloud-nuke.

brikis98 avatar brikis98 commented on September 28, 2024

It would be very helpful to show the AWS Account ID that you plan to nuke

+1

Also, show the root email address and account nickname (if one has been set).

Or better yet, you can confirm the nuke by entering the AWS Account ID.

Great idea!

from cloud-nuke.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.