aws / eks-anywhere

Run Amazon EKS on your own infrastructure 🚀
https://anywhere.eks.amazonaws.com
Apache License 2.0
1.96k stars 285 forks source link

Log the command line error before generating support bundles #2552

Open jiayiwang7 opened 2 years ago

jiayiwang7 commented 2 years ago

What would you like to be added:

We should log the error message first before going into the support bundle step when CLI fails.

Why is this needed:

Generating support bundle is a relatively time consuming task. It is launched whenever CLI fails. Currently the actual CLI error message is only printed out after support bundle generation. Many times as users we simply want to see the error and iterate accordingly. Moving the error message up so that user can have quick feedback and does not need to rely on relatively time consuming support bundle generation.

danbudris commented 2 years ago

would it be useful to also add a flag to disable bundle collection?